Type Alias ngx_connection_t
Source pub type ngx_connection_t = ngx_connection_s;
struct ngx_connection_t {Show 30 fields
pub data: *mut c_void,
pub read: *mut ngx_event_s,
pub write: *mut ngx_event_s,
pub fd: i32,
pub recv: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut u8, _: usize) -> isize>,
pub send: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut u8, _: usize) -> isize>,
pub recv_chain: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut ngx_chain_s, _: i64) -> isize>,
pub send_chain: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut ngx_chain_s, _: i64) -> *mut ngx_chain_s>,
pub listening: *mut ngx_listening_s,
pub sent: i64,
pub log: *mut ngx_log_s,
pub pool: *mut ngx_pool_s,
pub type_: i32,
pub sockaddr: *mut sockaddr,
pub socklen: u32,
pub addr_text: ngx_str_t,
pub proxy_protocol: *mut ngx_proxy_protocol_s,
pub quic: *mut ngx_quic_stream_s,
pub ssl: *mut ngx_ssl_connection_s,
pub udp: *mut ngx_udp_connection_s,
pub local_sockaddr: *mut sockaddr,
pub local_socklen: u32,
pub buffer: *mut ngx_buf_s,
pub queue: ngx_queue_s,
pub number: u64,
pub start_time: usize,
pub requests: usize,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub sendfile_task: *mut ngx_thread_task_s,
}