Home
last modified time | relevance | path

Searched refs:itos (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/net/
H A Dif_stf.c616 u_int8_t otos, itos; in in_stf_input() local
668 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in in_stf_input()
670 ip_ecn_egress(ECN_ALLOWED, &otos, &itos); in in_stf_input()
672 ip_ecn_egress(ECN_NOCARE, &otos, &itos); in in_stf_input()
674 ip6->ip6_flow |= htonl((u_int32_t)itos << 20); in in_stf_input()
/f-stack/freebsd/netipsec/
H A Dipsec_output.c899 uint8_t itos, proto; in ipsec_encap() local
918 itos = ip->ip_tos; in ipsec_encap()
925 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in ipsec_encap()
955 ip_ecn_ingress(V_ip4_ipsec_ecn, &ip->ip_tos, &itos); in ipsec_encap()
983 ip_ecn_ingress(V_ip6_ipsec_ecn, &proto, &itos); in ipsec_encap()