Searched refs:ip6_get_dsfield (Results 1 – 5 of 5) sorted by relevance
62 #define ip6_get_dsfield(iph) ((ntohs(*(u16*)(iph)) >> 4) & 0xFF) macro
171 if (!INET_ECN_is_capable(ip6_get_dsfield(skb->nh.ipv6h))) in red_ecn_mark()
379 INET_ECN_is_not_ce(ip6_get_dsfield(skb->nh.ipv6h))) in ipip6_ecn_decapsulate()590 iph->tos = INET_ECN_encapsulate(tos, ip6_get_dsfield(iph6)); in ipip6_tunnel_xmit()
1595 TCP_SKB_CB(skb)->flags = ip6_get_dsfield(skb->nh.ipv6h); in tcp_v6_rcv()
542 if (INET_ECN_is_not_ce(ip6_get_dsfield(skb->nh.ipv6h))) in ipgre_ecn_decapsulate()555 inner = ip6_get_dsfield((struct ipv6hdr*)old_iph); in ipgre_ecn_encapsulate()