Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6_gif.c
Context not available. | |||||
gifp = GIF2IFP(sc); | gifp = GIF2IFP(sc); | ||||
if ((gifp->if_flags & IFF_UP) != 0) { | if ((gifp->if_flags & IFF_UP) != 0) { | ||||
ip6 = mtod(m, struct ip6_hdr *); | ip6 = mtod(m, struct ip6_hdr *); | ||||
ecn = (ntohl(ip6->ip6_flow) >> 20) & 0xff; | ecn = IPV6_TRAFFIC_CLASS(ip6); | ||||
m_adj(m, off); | m_adj(m, off); | ||||
gif_input(m, gifp, proto, ecn); | gif_input(m, gifp, proto, ecn); | ||||
} else { | } else { | ||||
Context not available. |