Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_var.h
Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Lines | |||||
/* flags passed to ip_output as last parameter */ | /* flags passed to ip_output as last parameter */ | ||||
#define IP_FORWARDING 0x1 /* most of ip header exists */ | #define IP_FORWARDING 0x1 /* most of ip header exists */ | ||||
#define IP_RAWOUTPUT 0x2 /* raw ip header exists */ | #define IP_RAWOUTPUT 0x2 /* raw ip header exists */ | ||||
#define IP_SENDONES 0x4 /* send all-ones broadcast */ | #define IP_SENDONES 0x4 /* send all-ones broadcast */ | ||||
#define IP_SENDTOIF 0x8 /* send on specific ifnet */ | #define IP_SENDTOIF 0x8 /* send on specific ifnet */ | ||||
#define IP_ROUTETOIF SO_DONTROUTE /* 0x10 bypass routing tables */ | #define IP_ROUTETOIF SO_DONTROUTE /* 0x10 bypass routing tables */ | ||||
#define IP_ALLOWBROADCAST SO_BROADCAST /* 0x20 can send broadcast packets */ | #define IP_ALLOWBROADCAST SO_BROADCAST /* 0x20 can send broadcast packets */ | ||||
#define IP_NODEFAULTFLOWID 0x40 /* Don't set the flowid from inp */ | |||||
#ifdef __NO_STRICT_ALIGNMENT | #ifdef __NO_STRICT_ALIGNMENT | ||||
#define IP_HDR_ALIGNED_P(ip) 1 | #define IP_HDR_ALIGNED_P(ip) 1 | ||||
#else | #else | ||||
#define IP_HDR_ALIGNED_P(ip) ((((intptr_t) (ip)) & 3) == 0) | #define IP_HDR_ALIGNED_P(ip) ((((intptr_t) (ip)) & 3) == 0) | ||||
#endif | #endif | ||||
struct ip; | struct ip; | ||||
▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines |