Searched refs:dsfield (Results 1 – 2 of 2) sorted by relevance
/net/ipv6/ |
D | xfrm6_mode_tunnel.c | 36 int dsfield; in xfrm6_mode_tunnel_output() local 50 dsfield = XFRM_MODE_SKB_CB(skb)->tos; in xfrm6_mode_tunnel_output() 51 dsfield = INET_ECN_encapsulate(dsfield, dsfield); in xfrm6_mode_tunnel_output() 53 dsfield &= ~INET_ECN_MASK; in xfrm6_mode_tunnel_output() 54 ipv6_change_dsfield(top_iph, 0, dsfield); in xfrm6_mode_tunnel_output()
|
D | ip6_tunnel.c | 636 __u8 dsfield = ipv6_get_dsfield(ipv6h) & ~INET_ECN_MASK; in ip4ip6_dscp_ecn_decapsulate() local 639 ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, dsfield); in ip4ip6_dscp_ecn_decapsulate() 641 if (INET_ECN_is_ce(dsfield)) in ip4ip6_dscp_ecn_decapsulate() 844 __u8 dsfield, in ip6_tnl_xmit2() argument 927 dsfield = INET_ECN_encapsulate(0, dsfield); in ip6_tnl_xmit2() 928 ipv6_change_dsfield(ipv6h, ~INET_ECN_MASK, dsfield); in ip6_tnl_xmit2() 961 __u8 dsfield; in ip4ip6_tnl_xmit() local 975 dsfield = ipv4_get_dsfield(iph); in ip4ip6_tnl_xmit() 981 err = ip6_tnl_xmit2(skb, dev, dsfield, &fl, encap_limit, &mtu); in ip4ip6_tnl_xmit() 1001 __u8 dsfield; in ip6ip6_tnl_xmit() local [all …]
|