Searched refs:IPTOS_ECN_MASK (Results 1 – 15 of 15) sorted by relevance
108 if ((*inner & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in ip_ecn_ingress()115 *outer &= ~IPTOS_ECN_MASK; in ip_ecn_ingress()139 if ((*outer & IPTOS_ECN_MASK) == IPTOS_ECN_CE) { in ip_ecn_egress()140 if ((*inner & IPTOS_ECN_MASK) == IPTOS_ECN_NOTECT) in ip_ecn_egress()150 if ((*outer & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in ip_ecn_egress()
199 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_syn_sent()261 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_parallel_syn()288 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_segment()302 if ((iptos & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in tcp_ecn_input_segment()349 if ((iptos & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in tcp_ecn_input_segment()497 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_syncache_add()521 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_syncache_add()542 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_syncache_add()
134 #define IPTOS_ECN_MASK 0x03 /* ECN field mask */ macro
379 ecn = ip->ip_tos & IPTOS_ECN_MASK; in ip_reass()380 ecn0 = GETIP(fp->ipq_frags)->ip_tos & IPTOS_ECN_MASK; in ip_reass()
1213 ip6->ip6_flow &= ~htonl(IPTOS_ECN_MASK << IPV6_FLOWLABEL_LEN); in tcp_default_output()1219 ip->ip_tos &= ~IPTOS_ECN_MASK; in tcp_default_output()
1686 inp->inp_ip_tos &= ~IPTOS_ECN_MASK; in tcp_ctloutput_set()
519 switch (iptos & IPTOS_ECN_MASK) { in cc_ecnpkt_handler_flags()
2056 ip->ip_tos = inp->inp_ip_tos & ~IPTOS_ECN_MASK; in tcp_respond()
471 if ((ip->ip_tos & IPTOS_ECN_MASK) == IPTOS_ECN_NOTECT) in mark_ecn()473 if ((ip->ip_tos & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in mark_ecn()503 if ((flowlabel & (IPTOS_ECN_MASK << 20)) == in mark_ecn()506 if ((flowlabel & (IPTOS_ECN_MASK << 20)) == in mark_ecn()
430 if ((ip->ip_tos & IPTOS_ECN_MASK) == IPTOS_ECN_NOTECT) in ecn_mark()432 if ((ip->ip_tos & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in ecn_mark()453 if ((flowlabel & (IPTOS_ECN_MASK << 20)) == in ecn_mark()456 if ((flowlabel & (IPTOS_ECN_MASK << 20)) == in ecn_mark()
793 outip->ip_tos &= ~IPTOS_ECN_MASK; in main()1135 u_char ecn = hip->ip_tos & IPTOS_ECN_MASK; in main()
606 tclass &= ~IPTOS_ECN_MASK; in main()
2287 h->ip_tos = pd->act.set_tos | (h->ip_tos & IPTOS_ECN_MASK); in pf_scrub_ip()
8350 pd.tos = h->ip_tos & ~IPTOS_ECN_MASK; in pf_test()
18924 ip6->ip6_flow &= ~htonl(IPTOS_ECN_MASK << 20); in rack_fast_rsm_output()18930 ip->ip_tos &= ~IPTOS_ECN_MASK; in rack_fast_rsm_output()19499 ip6->ip6_flow &= ~htonl(IPTOS_ECN_MASK << 20); in rack_fast_output()19506 ip->ip_tos &= ~IPTOS_ECN_MASK; in rack_fast_output()21800 ip6->ip6_flow &= ~htonl(IPTOS_ECN_MASK << 20); in rack_output()21807 ip->ip_tos &= ~IPTOS_ECN_MASK; in rack_output()