summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_port.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nxt_port.h b/src/nxt_port.h
index a7f78b4c..1e39c732 100644
--- a/src/nxt_port.h
+++ b/src/nxt_port.h
@@ -118,6 +118,9 @@ struct nxt_port_s {
nxt_process_type_t type;
nxt_work_t work;
+
+ struct iovec *iov;
+ void *mmsg_buf;
};
@@ -140,7 +143,7 @@ typedef union {
} nxt_port_data_t;
-nxt_port_t *nxt_port_new(nxt_port_id_t id, nxt_pid_t pid,
+nxt_port_t *nxt_port_new(nxt_task_t *task, nxt_port_id_t id, nxt_pid_t pid,
nxt_process_type_t type);
nxt_bool_t nxt_port_release(nxt_port_t *port);