Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_stf.c
Context not available. | |||||
} | } | ||||
} | } | ||||
ip6 = mtod(m, struct ip6_hdr *); | ip6 = mtod(m, struct ip6_hdr *); | ||||
tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; | tos = IPv6_TRAFFIC_CLASS(ip6); | ||||
/* | /* | ||||
* Pickup the right outer dst addr from the list of candidates. | * Pickup the right outer dst addr from the list of candidates. | ||||
Context not available. | |||||
return (IPPROTO_DONE); | return (IPPROTO_DONE); | ||||
} | } | ||||
itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; | itos = IPV6_TRAFFIC_CLASS(ip6); | ||||
if ((ifp->if_flags & IFF_LINK1) != 0) | if ((ifp->if_flags & IFF_LINK1) != 0) | ||||
ip_ecn_egress(ECN_ALLOWED, &otos, &itos); | ip_ecn_egress(ECN_ALLOWED, &otos, &itos); | ||||
else | else | ||||
Context not available. |