#include <netinet/in_pcb.h>

netinet/in_pcb.h Kernel.framework

2 structs

structinpcb

size 208, align 4
struct _inpcb_list_entryinp_hashhash list
struct in_addrreserved1reserved
struct in_addrreserved2reserved
u_shortinp_fportforeign port
u_shortinp_lportlocal port
struct _inpcb_list_entryinp_listlist for all peer PCBs
u_int32_tinp_ppcbper-protocol pcb
u_int32_tinp_pcbinfoPCB list info
u_int32_tinp_socketback pointer to socket
u_charnat_ownerUsed to NAT TCP/UDP traffic
u_int32_tnat_cookieCookie stored and returned to NAT
struct _inpcb_list_entryinp_portlistthis PCB's local port list
u_int32_tinp_phdhead of this list
inp_gen_tinp_gencntgeneration count of this instance
intinp_flagsgeneric IP/datagram flags
u_int32_tinp_flow
u_charinp_vflag
u_charinp_ip_ttltime to live proto
u_charinp_ip_pprotocol proto
unnamed union at Kernel/netinet/in_pcb.h:153:2inp_dependfaddrprotocol dependent part
struct in_addr_4in6inp46_foreignforeign host table entry
struct in6_addrinp6_foreign
unnamed union at Kernel/netinet/in_pcb.h:158:2inp_dependladdr
struct in_addr_4in6inp46_locallocal host table entry
struct in6_addrinp6_local
unnamed union at Kernel/netinet/in_pcb.h:163:2inp_dependroute
u_char[20]inp4_routeplaceholder for routing entry
u_char[32]inp6_route
unnamed struct at Kernel/netinet/in_pcb.h:168:2inp_depend4
u_charinp4_ip_tostype of service proto
u_int32_tinp4_optionsIP options
u_int32_tinp4_moptionsIP multicast options
unnamed struct at Kernel/netinet/in_pcb.h:177:2inp_depend6
u_int32_tinp6_optionsIP options
u_int8_tinp6_hlim
u_int8_tunused_uint8_1
ushortunused_uint16_1
u_int32_tinp6_outputoptsIP6 options for outgoing packets
u_int32_tinp6_moptionsIP multicast options
u_int32_tinp6_icmp6filtICMPv6 code type filter
intinp6_cksumIPV6_CHECKSUM setsockopt
u_shortinp6_ifindex
shortinp6_hops
inthash_elementArray index of pcb's hash list
u_int32_tinp_saved_ppcbpointer while cached
u_int32_tinp_sp
u_int32_t[3]reservedreserved

structxinpcb64

size 260, align 4
u_int64_txi_lenlength of this structure
u_int64_txi_inpp
u_shortinp_fportforeign port
u_shortinp_lportlocal port
struct inpcb64_list_entryinp_listlist for all PCBs
u_int64_tinp_ppcbptr to per-protocol PCB
u_int64_tinp_pcbinfoPCB list info
struct inpcb64_list_entryinp_portlistthis PCB's local port list
u_int64_tinp_phdhead of this list
inp_gen_tinp_gencntcurrent generation count
intinp_flagsgeneric IP/datagram flags
u_int32_tinp_flow
u_charinp_vflag
u_charinp_ip_ttltime to live
u_charinp_ip_pprotocol
unnamed union at Kernel/netinet/in_pcb.h:229:2inp_dependfaddr
struct in_addr_4in6inp46_foreign
struct in6_addrinp6_foreign
unnamed union at Kernel/netinet/in_pcb.h:233:2inp_dependladdr
struct in_addr_4in6inp46_local
struct in6_addrinp6_local
unnamed struct at Kernel/netinet/in_pcb.h:237:2inp_depend4
u_charinp4_ip_tostype of service
unnamed struct at Kernel/netinet/in_pcb.h:240:2inp_depend6
u_int8_tinp6_hlim
intinp6_cksum
u_shortinp6_ifindex
shortinp6_hops
struct xsocket64xi_socket
u_quad_txi_alignment_hack