view src/os/unix/ngx_linux.h @ 6978:9fb994513776

Enabled IPV6_RECVPKTINFO / IPV6_PKTINFO on macOS. This change allows setting the destination IPv6 address of a UDP datagram received on a wildcard socket.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 17 Apr 2017 14:42:12 +0300
parents adba26ff70b5
children
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) Nginx, Inc.
 */


#ifndef _NGX_LINUX_H_INCLUDED_
#define _NGX_LINUX_H_INCLUDED_


ngx_chain_t *ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in,
    off_t limit);


#endif /* _NGX_LINUX_H_INCLUDED_ */