Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip6.h
Context not available. | |||||
#endif | #endif | ||||
#define IPV6_FLOWLABEL_LEN 20 | #define IPV6_FLOWLABEL_LEN 20 | ||||
#define IPV6_TRAFFIC_CLASS(ip6) ((ntohl((ip6)->ip6_flow) >> 20) & 0xff) | |||||
#define IPV6_DSCP(ip6) ((ntohl((ip6)->ip6_flow) >> 20) & 0xfc) | |||||
#define IPV6_ECN(ip6) ((ntohl((ip6)->ip6_flow) >> 20) & 0x03) | |||||
/* | /* | ||||
* Extension Headers | * Extension Headers | ||||
*/ | */ | ||||
Context not available. |