comparison src/core/ngx_connection.h @ 6436:8f038068f4bc

Stream: UDP proxy.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 20 Jan 2016 19:52:12 +0300
parents 257b51c37c5a
children 2cd019520210
comparison
equal deleted inserted replaced
6435:d1c791479bbb 6436:8f038068f4bc
62 unsigned nonblocking_accept:1; 62 unsigned nonblocking_accept:1;
63 unsigned listen:1; 63 unsigned listen:1;
64 unsigned nonblocking:1; 64 unsigned nonblocking:1;
65 unsigned shared:1; /* shared between threads or processes */ 65 unsigned shared:1; /* shared between threads or processes */
66 unsigned addr_ntop:1; 66 unsigned addr_ntop:1;
67 unsigned wildcard:1;
67 68
68 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) 69 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
69 unsigned ipv6only:1; 70 unsigned ipv6only:1;
70 #endif 71 #endif
71 #if (NGX_HAVE_REUSEPORT) 72 #if (NGX_HAVE_REUSEPORT)
139 140
140 ngx_log_t *log; 141 ngx_log_t *log;
141 142
142 ngx_pool_t *pool; 143 ngx_pool_t *pool;
143 144
145 int type;
146
144 struct sockaddr *sockaddr; 147 struct sockaddr *sockaddr;
145 socklen_t socklen; 148 socklen_t socklen;
146 ngx_str_t addr_text; 149 ngx_str_t addr_text;
147 150
148 ngx_str_t proxy_protocol_addr; 151 ngx_str_t proxy_protocol_addr;
172 unsigned destroyed:1; 175 unsigned destroyed:1;
173 176
174 unsigned idle:1; 177 unsigned idle:1;
175 unsigned reusable:1; 178 unsigned reusable:1;
176 unsigned close:1; 179 unsigned close:1;
180 unsigned shared:1;
177 181
178 unsigned sendfile:1; 182 unsigned sendfile:1;
179 unsigned sndlowat:1; 183 unsigned sndlowat:1;
180 unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */ 184 unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */
181 unsigned tcp_nopush:2; /* ngx_connection_tcp_nopush_e */ 185 unsigned tcp_nopush:2; /* ngx_connection_tcp_nopush_e */