summaryrefslogtreecommitdiff
path: root/deps/uv/include/uv-unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/include/uv-unix.h')
-rw-r--r--deps/uv/include/uv-unix.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/deps/uv/include/uv-unix.h b/deps/uv/include/uv-unix.h
index 338092daa6..e918e4d47a 100644
--- a/deps/uv/include/uv-unix.h
+++ b/deps/uv/include/uv-unix.h
@@ -55,6 +55,16 @@ typedef struct {
#define UV_CONNECT_PRIVATE_FIELDS \
ngx_queue_t queue;
+#define UV_UDP_SEND_PRIVATE_FIELDS \
+ ngx_queue_t queue; \
+ struct sockaddr_storage addr; \
+ socklen_t addrlen; \
+ uv_buf_t* bufs; \
+ int bufcnt; \
+ ssize_t status; \
+ uv_udp_send_cb send_cb; \
+ uv_buf_t bufsml[UV_REQ_BUFSML_SIZE]; \
+
#define UV_PRIVATE_REQ_TYPES /* empty */
@@ -83,6 +93,16 @@ typedef struct {
#define UV_TCP_PRIVATE_FIELDS
+/* UV_UDP */
+#define UV_UDP_PRIVATE_FIELDS \
+ uv_alloc_cb alloc_cb; \
+ uv_udp_recv_cb recv_cb; \
+ ev_io read_watcher; \
+ ev_io write_watcher; \
+ ngx_queue_t write_queue; \
+ ngx_queue_t write_completed_queue; \
+
+
/* UV_NAMED_PIPE */
#define UV_PIPE_PRIVATE_TYPEDEF
#define UV_PIPE_PRIVATE_FIELDS \