Home
last modified time | relevance | path

Searched refs:otos (Results 1 – 7 of 7) sorted by relevance

/xnu-12377.61.12/bsd/netinet6/
H A Din6_gif.c109 u_int8_t itos, otos; in in6_gif_output() local
188 &otos, &itos); in in6_gif_output()
190 ip6->ip6_flow |= htonl((u_int32_t)otos << 20); in in6_gif_output()
246 u_int32_t otos; in in6_gif_input() local
259 otos = ip6->ip6_flow; in in6_gif_input()
270 otos8 = (ntohl(otos) >> 20) & 0xff; in in6_gif_input()
304 egress_success = ip6_ecn_egress(ECN_NORMAL, &otos, &ip6->ip6_flow); in in6_gif_input()
306 egress_success = ip6_ecn_egress(ECN_NOCARE, &otos, &ip6->ip6_flow); in in6_gif_input()
H A Dah_input.c378 u_int8_t tos, otos; in ah4_input() local
396 otos = ip->ip_tos; in ah4_input()
403 if (otos != ip->ip_tos) { in ah4_input()
405 sum += (~otos & 0xffff) + ip->ip_tos; in ah4_input()
H A Desp_input.c581 u_int8_t tos, otos; in esp4_input_extended() local
600 otos = ip->ip_tos; in esp4_input_extended()
606 if (otos != ip->ip_tos) { in esp4_input_extended()
608 sum += (~otos & 0xffff) + ip->ip_tos; in esp4_input_extended()
1344 u_int8_t otos; in esp6_input_extended() local
1348 otos = ip->ip_tos; in esp6_input_extended()
1355 if (otos != ip->ip_tos) { in esp6_input_extended()
1357 sum += (~otos & 0xffff) + ip->ip_tos; in esp6_input_extended()
/xnu-12377.61.12/bsd/netinet/
H A Din_gif.c244 u_int8_t otos, old_tos; in in_gif_input() local
260 otos = ip->ip_tos; in in_gif_input()
277 egress_success = ip_ecn_egress(ECN_NORMAL, &otos, &ip->ip_tos); in in_gif_input()
280 sum += (~otos & 0xffff) + ip->ip_tos; in in_gif_input()
286 egress_success = ip_ecn_egress(ECN_NOCARE, &otos, &ip->ip_tos); in in_gif_input()
305 egress_success = ip_ecn_egress(ECN_NORMAL, &otos, &itos); in in_gif_input()
307 egress_success = ip_ecn_egress(ECN_NOCARE, &otos, &itos); in in_gif_input()
/xnu-12377.61.12/bsd/net/classq/
H A Dclassq_util.c248 u_int8_t otos; in mark_ecn() local
268 otos = ip->ip_tos; in mark_ecn()
277 sum += (~otos & 0xffff) + ip->ip_tos; in mark_ecn()
/xnu-12377.61.12/bsd/net/pktsched/
H A Dpktsched.c738 uint8_t otos; in pktsched_mbuf_mark_ecn() local
755 otos = ip->ip_tos; in pktsched_mbuf_mark_ecn()
764 sum += (~otos & 0xffff) + ip->ip_tos; in pktsched_mbuf_mark_ecn()
829 uint8_t otos; in pktsched_kpkt_mark_ecn() local
843 otos = ip->ip_tos; in pktsched_kpkt_mark_ecn()
847 sum += (~otos & 0xffff) + ip->ip_tos; in pktsched_kpkt_mark_ecn()
/xnu-12377.61.12/bsd/net/
H A Dif_stf.c748 u_int8_t otos, itos; in in_stf_input() local
782 otos = ip->ip_tos; in in_stf_input()
800 ip_ecn_egress(ECN_NORMAL, &otos, &itos); in in_stf_input()
802 ip_ecn_egress(ECN_NOCARE, &otos, &itos); in in_stf_input()