Mercurial > hg > nginx
comparison src/stream/ngx_stream.h @ 6436:8f038068f4bc
Stream: UDP proxy.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 20 Jan 2016 19:52:12 +0300 |
parents | 7565e056fad6 |
children | 6f8254ae61b8 |
comparison
equal
deleted
inserted
replaced
6435:d1c791479bbb | 6436:8f038068f4bc |
---|---|
64 int tcp_keepidle; | 64 int tcp_keepidle; |
65 int tcp_keepintvl; | 65 int tcp_keepintvl; |
66 int tcp_keepcnt; | 66 int tcp_keepcnt; |
67 #endif | 67 #endif |
68 int backlog; | 68 int backlog; |
69 int type; | |
69 } ngx_stream_listen_t; | 70 } ngx_stream_listen_t; |
70 | 71 |
71 | 72 |
72 typedef struct { | 73 typedef struct { |
73 ngx_stream_conf_ctx_t *ctx; | 74 ngx_stream_conf_ctx_t *ctx; |
100 } ngx_stream_port_t; | 101 } ngx_stream_port_t; |
101 | 102 |
102 | 103 |
103 typedef struct { | 104 typedef struct { |
104 int family; | 105 int family; |
106 int type; | |
105 in_port_t port; | 107 in_port_t port; |
106 ngx_array_t addrs; /* array of ngx_stream_conf_addr_t */ | 108 ngx_array_t addrs; /* array of ngx_stream_conf_addr_t */ |
107 } ngx_stream_conf_port_t; | 109 } ngx_stream_conf_port_t; |
108 | 110 |
109 | 111 |