Home
last modified time | relevance | path

Searched refs:IPV6_FLOWLABEL_LEN (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/netinet/
H A Dip6.h106 #define IPV6_FLOWLABEL_LEN 20 macro
108 #define IPV6_TRAFFIC_CLASS(ip6) ((ntohl((ip6)->ip6_flow) >> IPV6_FLOWLABEL_LEN) & 0xff)
109 #define IPV6_DSCP(ip6) ((ntohl((ip6)->ip6_flow) >> IPV6_FLOWLABEL_LEN) & 0xfc)
110 #define IPV6_ECN(ip6) ((ntohl((ip6)->ip6_flow) >> IPV6_FLOWLABEL_LEN) & 0x03)
H A Dtcp_output.c1212 ip6->ip6_flow &= ~htonl(IPTOS_ECN_MASK << IPV6_FLOWLABEL_LEN); in tcp_default_output()
1213 ip6->ip6_flow |= htonl(ect << IPV6_FLOWLABEL_LEN); in tcp_default_output()
H A Dip_carp.c1306 ip6->ip6_flow |= htonl(V_carp_dscp << (IPV6_FLOWLABEL_LEN + in carp_send_ad_locked()
1467 ip6->ip6_flow |= htonl(V_carp_dscp << (IPV6_FLOWLABEL_LEN + in vrrp_send_ad_locked()
H A Dtcp_syncache.c1854 ip6->ip6_flow |= htonl(sc->sc_ip_tos << IPV6_FLOWLABEL_LEN); in syncache_respond()
H A Dtcp_subr.c1980 ip6->ip6_flow = htonl(ect << IPV6_FLOWLABEL_LEN); in tcp_respond()