Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/in_pcb.h
Show First 20 Lines • Show All 314 Lines • ▼ Show 20 Lines | struct { | ||||
struct icmp6_filter *in6p_icmp6filt; | struct icmp6_filter *in6p_icmp6filt; | ||||
/* (i) IPV6_CHECKSUM setsockopt */ | /* (i) IPV6_CHECKSUM setsockopt */ | ||||
int in6p_cksum; | int in6p_cksum; | ||||
short in6p_hops; | short in6p_hops; | ||||
}; | }; | ||||
CK_LIST_ENTRY(inpcb) inp_portlist; /* (i/h) */ | CK_LIST_ENTRY(inpcb) inp_portlist; /* (i/h) */ | ||||
struct inpcbport *inp_phd; /* (i/h) head of this list */ | struct inpcbport *inp_phd; /* (i/h) head of this list */ | ||||
inp_gen_t inp_gencnt; /* (c) generation count */ | inp_gen_t inp_gencnt; /* (c) generation count */ | ||||
struct llentry *inp_lle; /* cached L2 information */ | void *spare_ptr; /* Spare pointer. */ | ||||
rt_gen_t inp_rt_cookie; /* generation for route entry */ | rt_gen_t inp_rt_cookie; /* generation for route entry */ | ||||
union { /* cached L3 information */ | union { /* cached L3 information */ | ||||
struct route inp_route; | struct route inp_route; | ||||
struct route_in6 inp_route6; | struct route_in6 inp_route6; | ||||
}; | }; | ||||
CK_LIST_ENTRY(inpcb) inp_list; /* (p/l) list for all PCBs for proto */ | CK_LIST_ENTRY(inpcb) inp_list; /* (p/l) list for all PCBs for proto */ | ||||
/* (e[r]) for list iteration */ | /* (e[r]) for list iteration */ | ||||
/* (p[w]/l) for addition/removal */ | /* (p[w]/l) for addition/removal */ | ||||
▲ Show 20 Lines • Show All 407 Lines • ▼ Show 20 Lines | #define INP_CONTROLOPTS (INP_RECVOPTS|INP_RECVRETOPTS|INP_RECVDSTADDR|\ | ||||
IN6P_PKTINFO|IN6P_HOPLIMIT|IN6P_HOPOPTS|\ | IN6P_PKTINFO|IN6P_HOPLIMIT|IN6P_HOPOPTS|\ | ||||
IN6P_DSTOPTS|IN6P_RTHDR|IN6P_RTHDRDSTOPTS|\ | IN6P_DSTOPTS|IN6P_RTHDR|IN6P_RTHDRDSTOPTS|\ | ||||
IN6P_TCLASS|IN6P_AUTOFLOWLABEL|IN6P_RFC2292|\ | IN6P_TCLASS|IN6P_AUTOFLOWLABEL|IN6P_RFC2292|\ | ||||
IN6P_MTU) | IN6P_MTU) | ||||
/* | /* | ||||
* Flags for inp_flags2. | * Flags for inp_flags2. | ||||
*/ | */ | ||||
#define INP_LLE_VALID 0x00000001 /* cached lle is valid */ | #define INP_2UNUSED1 0x00000001 | ||||
#define INP_RT_VALID 0x00000002 /* cached rtentry is valid */ | #define INP_2UNUSED2 0x00000002 | ||||
#define INP_PCBGROUPWILD 0x00000004 /* in pcbgroup wildcard list */ | #define INP_PCBGROUPWILD 0x00000004 /* in pcbgroup wildcard list */ | ||||
#define INP_REUSEPORT 0x00000008 /* SO_REUSEPORT option is set */ | #define INP_REUSEPORT 0x00000008 /* SO_REUSEPORT option is set */ | ||||
#define INP_FREED 0x00000010 /* inp itself is not valid */ | #define INP_FREED 0x00000010 /* inp itself is not valid */ | ||||
#define INP_REUSEADDR 0x00000020 /* SO_REUSEADDR option is set */ | #define INP_REUSEADDR 0x00000020 /* SO_REUSEADDR option is set */ | ||||
#define INP_BINDMULTI 0x00000040 /* IP_BINDMULTI option is set */ | #define INP_BINDMULTI 0x00000040 /* IP_BINDMULTI option is set */ | ||||
#define INP_RSS_BUCKET_SET 0x00000080 /* IP_RSS_LISTEN_BUCKET is set */ | #define INP_RSS_BUCKET_SET 0x00000080 /* IP_RSS_LISTEN_BUCKET is set */ | ||||
#define INP_RECVFLOWID 0x00000100 /* populate recv datagram with flow info */ | #define INP_RECVFLOWID 0x00000100 /* populate recv datagram with flow info */ | ||||
#define INP_RECVRSSBUCKETID 0x00000200 /* populate recv datagram with bucket id */ | #define INP_RECVRSSBUCKETID 0x00000200 /* populate recv datagram with bucket id */ | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |