summaryrefslogtreecommitdiffhomepage
path: root/src/stream/ngx_stream.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2016-01-20 19:52:12 +0300
committerRoman Arutyunyan <arut@nginx.com>2016-01-20 19:52:12 +0300
commit2ce791f2cddff967fd3bcbbedcd4ea283a9c77e1 (patch)
tree5f4426530cda21647392b3dace3f4248b0515d2e /src/stream/ngx_stream.h
parentc790f9673d2f5730e17d2eb9d0a31b662a3d82f9 (diff)
downloadnginx-2ce791f2cddff967fd3bcbbedcd4ea283a9c77e1.tar.gz
nginx-2ce791f2cddff967fd3bcbbedcd4ea283a9c77e1.tar.bz2
Stream: UDP proxy.
Diffstat (limited to 'src/stream/ngx_stream.h')
-rw-r--r--src/stream/ngx_stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h
index 21953e940..49efa4517 100644
--- a/src/stream/ngx_stream.h
+++ b/src/stream/ngx_stream.h
@@ -66,6 +66,7 @@ typedef struct {
int tcp_keepcnt;
#endif
int backlog;
+ int type;
} ngx_stream_listen_t;
@@ -102,6 +103,7 @@ typedef struct {
typedef struct {
int family;
+ int type;
in_port_t port;
ngx_array_t addrs; /* array of ngx_stream_conf_addr_t */
} ngx_stream_conf_port_t;