From 2ce791f2cddff967fd3bcbbedcd4ea283a9c77e1 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 20 Jan 2016 19:52:12 +0300 Subject: Stream: UDP proxy. --- src/os/unix/ngx_os.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/os/unix/ngx_os.h') diff --git a/src/os/unix/ngx_os.h b/src/os/unix/ngx_os.h index d8bcb0140..c0d59ef71 100644 --- a/src/os/unix/ngx_os.h +++ b/src/os/unix/ngx_os.h @@ -28,6 +28,7 @@ typedef struct { ngx_recv_chain_pt recv_chain; ngx_recv_pt udp_recv; ngx_send_pt send; + ngx_send_pt udp_send; ngx_send_chain_pt send_chain; ngx_uint_t flags; } ngx_os_io_t; @@ -47,6 +48,7 @@ ssize_t ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size); ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size); ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit); +ssize_t ngx_udp_unix_send(ngx_connection_t *c, u_char *buf, size_t size); #if (IOV_MAX > 64) -- cgit