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()
204 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_syn_sent()270 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_parallel_syn()298 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_segment()312 if ((iptos & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in tcp_ecn_input_segment()359 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()
132 #define IPTOS_ECN_MASK 0x03 /* ECN field mask */ macro
377 ecn = ip->ip_tos & IPTOS_ECN_MASK; in ip_reass()378 ecn0 = GETIP(fp->ipq_frags)->ip_tos & IPTOS_ECN_MASK; in ip_reass()
1216 ip6->ip6_flow &= ~htonl(IPTOS_ECN_MASK << IPV6_FLOWLABEL_LEN); in tcp_default_output()1222 ip->ip_tos &= ~IPTOS_ECN_MASK; in tcp_default_output()
1703 inp->inp_ip_tos &= ~IPTOS_ECN_MASK; in tcp_ctloutput_set()
525 switch (iptos & IPTOS_ECN_MASK) { in cc_ecnpkt_handler_flags()
2000 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()
760 outip->ip_tos &= ~IPTOS_ECN_MASK; in main()1062 u_char ecn = hip->ip_tos & IPTOS_ECN_MASK; in main()
592 tclass &= ~IPTOS_ECN_MASK; in main()
2234 h->ip_tos = pd->act.set_tos | (h->ip_tos & IPTOS_ECN_MASK); in pf_scrub()
9772 pd->tos = h->ip_tos & ~IPTOS_ECN_MASK; in pf_setup_pdesc()
18699 ip6->ip6_flow &= ~htonl(IPTOS_ECN_MASK << 20); in rack_fast_rsm_output() 18705 ip->ip_tos &= ~IPTOS_ECN_MASK; in rack_fast_rsm_output() 19264 ip6->ip6_flow &= ~htonl(IPTOS_ECN_MASK << 20); in rack_fast_output() 19271 ip->ip_tos &= ~IPTOS_ECN_MASK; in rack_fast_output() 21737 ip6->ip6_flow &= ~htonl(IPTOS_ECN_MASK << 20); in rack_output() 21744 ip->ip_tos &= ~IPTOS_ECN_MASK; in rack_output()