Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/ip6_output.c
Context not available. | |||||
if (opt && opt->ip6po_tclass >= 0) { | if (opt && opt->ip6po_tclass >= 0) { | ||||
int mask = 0; | int mask = 0; | ||||
if ((ip6->ip6_flow & htonl(0xfc << 20)) == 0) | if (IPV6_DSCP(ip6) == 0) | ||||
mask |= 0xfc; | mask |= 0xfc; | ||||
if ((ip6->ip6_flow & htonl(0x03 << 20)) == 0) | if (IPv6_ECN(ip6) == 0) | ||||
rscheff: typo? | |||||
Done Inline ActionsWhoops. Good catch. I really should have caught that myself. kp: Whoops. Good catch. I really should have caught that myself. | |||||
mask |= 0x03; | mask |= 0x03; | ||||
if (mask != 0) | if (mask != 0) | ||||
ip6->ip6_flow |= htonl((opt->ip6po_tclass & mask) << 20); | ip6->ip6_flow |= htonl((opt->ip6po_tclass & mask) << 20); | ||||
Context not available. |
typo?