Searched refs:otos (Results 1 – 7 of 7) sorted by relevance
| /xnu-10063.141.1/bsd/netinet6/ |
| H A D | in6_gif.c | 109 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 D | ah_input.c | 375 u_int8_t tos, otos; in ah4_input() local 393 otos = ip->ip_tos; in ah4_input() 400 if (otos != ip->ip_tos) { in ah4_input() 402 sum += (~otos & 0xffff) + ip->ip_tos; in ah4_input()
|
| H A D | esp_input.c | 578 u_int8_t tos, otos; in esp4_input_extended() local 597 otos = ip->ip_tos; in esp4_input_extended() 603 if (otos != ip->ip_tos) { in esp4_input_extended() 605 sum += (~otos & 0xffff) + ip->ip_tos; in esp4_input_extended() 1346 u_int8_t otos; in esp6_input_extended() local 1350 otos = ip->ip_tos; in esp6_input_extended() 1357 if (otos != ip->ip_tos) { in esp6_input_extended() 1359 sum += (~otos & 0xffff) + ip->ip_tos; in esp6_input_extended()
|
| /xnu-10063.141.1/bsd/netinet/ |
| H A D | in_gif.c | 244 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-10063.141.1/bsd/net/classq/ |
| H A D | classq_util.c | 248 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-10063.141.1/bsd/net/pktsched/ |
| H A D | pktsched.c | 630 uint8_t otos; in pktsched_mbuf_mark_ecn() local 647 otos = ip->ip_tos; in pktsched_mbuf_mark_ecn() 656 sum += (~otos & 0xffff) + ip->ip_tos; in pktsched_mbuf_mark_ecn() 719 uint8_t otos; in pktsched_kpkt_mark_ecn() local 733 otos = ip->ip_tos; in pktsched_kpkt_mark_ecn() 737 sum += (~otos & 0xffff) + ip->ip_tos; in pktsched_kpkt_mark_ecn()
|
| /xnu-10063.141.1/bsd/net/ |
| H A D | if_stf.c | 747 u_int8_t otos, itos; in in_stf_input() local 781 otos = ip->ip_tos; in in_stf_input() 799 ip_ecn_egress(ECN_NORMAL, &otos, &itos); in in_stf_input() 801 ip_ecn_egress(ECN_NOCARE, &otos, &itos); in in_stf_input()
|