Type Alias ngx_peer_connection_t
Source pub type ngx_peer_connection_t = ngx_peer_connection_s;
struct ngx_peer_connection_t {Show 19 fields
pub connection: *mut ngx_connection_s,
pub sockaddr: *mut sockaddr,
pub socklen: u32,
pub name: *mut ngx_str_t,
pub tries: usize,
pub start_time: usize,
pub get: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void) -> isize>,
pub free: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void, _: usize)>,
pub notify: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void, _: usize)>,
pub data: *mut c_void,
pub set_session: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void) -> isize>,
pub save_session: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void)>,
pub local: *mut ngx_addr_t,
pub type_: i32,
pub rcvbuf: i32,
pub log: *mut ngx_log_s,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub spare: [u64; 2],
}