nxt_port.h (83:f64ecdf030ea) nxt_port.h (122:d18727e877c6)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_PORT_H_INCLUDED_
8#define _NXT_PORT_H_INCLUDED_

--- 22 unchanged lines hidden (view full) ---

31 /* Message data send using mmap, next chunk is a nxt_port_mmap_msg_t. */
32 uint8_t mmap; /* 1 bit */
33} nxt_port_msg_t;
34
35
36typedef struct {
37 nxt_queue_link_t link;
38 nxt_buf_t *buf;
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_PORT_H_INCLUDED_
8#define _NXT_PORT_H_INCLUDED_

--- 22 unchanged lines hidden (view full) ---

31 /* Message data send using mmap, next chunk is a nxt_port_mmap_msg_t. */
32 uint8_t mmap; /* 1 bit */
33} nxt_port_msg_t;
34
35
36typedef struct {
37 nxt_queue_link_t link;
38 nxt_buf_t *buf;
39 nxt_mp_t *mem_pool;
40 size_t share;
41 nxt_fd_t fd;
42 nxt_port_msg_t port_msg;
39 size_t share;
40 nxt_fd_t fd;
41 nxt_port_msg_t port_msg;
42
43 nxt_work_t work;
44 nxt_event_engine_t *engine;
45 nxt_mp_t *mem_pool;
43} nxt_port_send_msg_t;
44
45
46struct nxt_port_recv_msg_s {
47 nxt_fd_t fd;
48 nxt_buf_t *buf;
49 nxt_port_t *port;
50 nxt_port_msg_t port_msg;

--- 85 unchanged lines hidden ---
46} nxt_port_send_msg_t;
47
48
49struct nxt_port_recv_msg_s {
50 nxt_fd_t fd;
51 nxt_buf_t *buf;
52 nxt_port_t *port;
53 nxt_port_msg_t port_msg;

--- 85 unchanged lines hidden ---