Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/in.h
Show First 20 Lines • Show All 492 Lines • ▼ Show 20 Lines | |||||
/* Flow and RSS definitions */ | /* Flow and RSS definitions */ | ||||
#define IP_FLOWID 90 /* get flow id for the given socket/inp */ | #define IP_FLOWID 90 /* get flow id for the given socket/inp */ | ||||
#define IP_FLOWTYPE 91 /* get flow type (M_HASHTYPE) */ | #define IP_FLOWTYPE 91 /* get flow type (M_HASHTYPE) */ | ||||
#define IP_RSSBUCKETID 92 /* get RSS flowid -> bucket mapping */ | #define IP_RSSBUCKETID 92 /* get RSS flowid -> bucket mapping */ | ||||
#define IP_RECVFLOWID 93 /* bool; receive IP flowid/flowtype w/ datagram */ | #define IP_RECVFLOWID 93 /* bool; receive IP flowid/flowtype w/ datagram */ | ||||
#define IP_RECVRSSBUCKETID 94 /* bool; receive IP RSS bucket id w/ datagram */ | #define IP_RECVRSSBUCKETID 94 /* bool; receive IP RSS bucket id w/ datagram */ | ||||
/* Divert definitions */ | |||||
#define IP_DIVSENDBUF 95 /* u_long; send divert buffer size */ | |||||
#define IP_DIVRECVBUF 96 /* u_long; receive divert buffer size */ | |||||
donner: That's not an IP property, but a socket property.
So can we reuse the existing sys/socket.h… | |||||
/* | /* | ||||
* Defaults and limits for options | * Defaults and limits for options | ||||
*/ | */ | ||||
#define IP_DEFAULT_MULTICAST_TTL 1 /* normally limit m'casts to 1 hop */ | #define IP_DEFAULT_MULTICAST_TTL 1 /* normally limit m'casts to 1 hop */ | ||||
#define IP_DEFAULT_MULTICAST_LOOP 1 /* normally hear sends if a member */ | #define IP_DEFAULT_MULTICAST_LOOP 1 /* normally hear sends if a member */ | ||||
/* | /* | ||||
* Limit for IPv4 multicast memberships | * Limit for IPv4 multicast memberships | ||||
▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines |
That's not an IP property, but a socket property.
So can we reuse the existing sys/socket.h definitions?