Home
last modified time | relevance | path

Searched refs:old_tos (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/
H A Dfsw_qos.c48 uint8_t old_tos; in fsw_qos_set_ip_tos() local
49 old_tos = ip->ip_tos; in fsw_qos_set_ip_tos()
52 ip->ip_sum = fsw_qos_csum_fixup(ip->ip_sum, htons(old_tos), in fsw_qos_set_ip_tos()
/xnu-12377.61.12/bsd/netinet6/
H A Din6_gif.c266 u_int8_t otos8, old_tos; in in6_gif_input() local
279 old_tos = ip->ip_tos; in in6_gif_input()
281 if (old_tos != ip->ip_tos) { in in6_gif_input()
283 sum += (~old_tos & 0xffff) + ip->ip_tos; in in6_gif_input()
/xnu-12377.61.12/bsd/netinet/
H A Din_gif.c244 u_int8_t otos, old_tos; in in_gif_input() local
276 old_tos = ip->ip_tos; in in_gif_input()
278 if (old_tos != ip->ip_tos) { in in_gif_input()
/xnu-12377.61.12/bsd/net/
H A Ddlil.c2882 uint8_t old_tos; in ifnet_mcast_clear_dscp() local
2896 old_tos = ip->ip_tos; in ifnet_mcast_clear_dscp()
2898 sum = ip->ip_sum + htons(old_tos) - htons(ip->ip_tos); in ifnet_mcast_clear_dscp()