Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip6.h
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | |||||
#endif /* LITTLE_ENDIAN */ | #endif /* LITTLE_ENDIAN */ | ||||
#endif | #endif | ||||
#if 1 | #if 1 | ||||
/* ECN bits proposed by Sally Floyd */ | /* ECN bits proposed by Sally Floyd */ | ||||
#define IP6TOS_CE 0x01 /* congestion experienced */ | #define IP6TOS_CE 0x01 /* congestion experienced */ | ||||
#define IP6TOS_ECT 0x02 /* ECN-capable transport */ | #define IP6TOS_ECT 0x02 /* ECN-capable transport */ | ||||
#endif | #endif | ||||
#define IPV6_FLOW_TOS_SHIFT 20 | |||||
#define IPV6_FLOW_TOS_MASK 0xff | |||||
/* | /* | ||||
* Extension Headers | * Extension Headers | ||||
*/ | */ | ||||
struct ip6_ext { | struct ip6_ext { | ||||
u_int8_t ip6e_nxt; | u_int8_t ip6e_nxt; | ||||
u_int8_t ip6e_len; | u_int8_t ip6e_len; | ||||
} __packed; | } __packed; | ||||
▲ Show 20 Lines • Show All 228 Lines • Show Last 20 Lines |