dsfield 32 include/net/dsfield.h __u8 dsfield; dsfield 34 include/net/dsfield.h dsfield = (iph->tos & mask) | value; dsfield 37 include/net/dsfield.h check -= dsfield; dsfield 40 include/net/dsfield.h iph->tos = dsfield; dsfield 21 include/net/inet_ecn.h static inline int INET_ECN_is_ce(__u8 dsfield) dsfield 23 include/net/inet_ecn.h return (dsfield & INET_ECN_MASK) == INET_ECN_CE; dsfield 26 include/net/inet_ecn.h static inline int INET_ECN_is_not_ect(__u8 dsfield) dsfield 28 include/net/inet_ecn.h return (dsfield & INET_ECN_MASK) == INET_ECN_NOT_ECT; dsfield 31 include/net/inet_ecn.h static inline int INET_ECN_is_capable(__u8 dsfield) dsfield 33 include/net/inet_ecn.h return dsfield & INET_ECN_ECT_0; dsfield 144 include/net/ip6_tunnel.h int ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev, __u8 dsfield, dsfield 634 net/ipv6/ip6_gre.c struct flowi6 *fl6, __u8 *dsfield, dsfield 646 net/ipv6/ip6_gre.c *dsfield = ipv4_get_dsfield(iph); dsfield 648 net/ipv6/ip6_gre.c *dsfield = ip6_tclass(t->parms.flowinfo); dsfield 660 net/ipv6/ip6_gre.c struct flowi6 *fl6, __u8 *dsfield, dsfield 688 net/ipv6/ip6_gre.c *dsfield = ipv6_get_dsfield(ipv6h); dsfield 690 net/ipv6/ip6_gre.c *dsfield = ip6_tclass(t->parms.flowinfo); dsfield 706 net/ipv6/ip6_gre.c struct net_device *dev, __u8 dsfield, dsfield 745 net/ipv6/ip6_gre.c dsfield = key->tos; dsfield 765 net/ipv6/ip6_gre.c return ip6_tnl_xmit(skb, dev, dsfield, fl6, encap_limit, pmtu, dsfield 774 net/ipv6/ip6_gre.c __u8 dsfield = 0; dsfield 782 net/ipv6/ip6_gre.c &dsfield, &encap_limit); dsfield 788 net/ipv6/ip6_gre.c err = __gre6_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu, dsfield 807 net/ipv6/ip6_gre.c __u8 dsfield = 0; dsfield 815 net/ipv6/ip6_gre.c prepare_ip6gre_xmit_ipv6(skb, dev, &fl6, &dsfield, &encap_limit)) dsfield 821 net/ipv6/ip6_gre.c err = __gre6_xmit(skb, dev, dsfield, &fl6, encap_limit, dsfield 920 net/ipv6/ip6_gre.c __u8 dsfield = false; dsfield 980 net/ipv6/ip6_gre.c dsfield = key->tos; dsfield 1007 net/ipv6/ip6_gre.c &dsfield, &encap_limit); dsfield 1013 net/ipv6/ip6_gre.c &dsfield, &encap_limit)) dsfield 1045 net/ipv6/ip6_gre.c err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu, dsfield 699 net/ipv6/ip6_tunnel.c __u8 dsfield = ipv6_get_dsfield(ipv6h) & ~INET_ECN_MASK; dsfield 702 net/ipv6/ip6_tunnel.c ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, dsfield); dsfield 1032 net/ipv6/ip6_tunnel.c int ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev, __u8 dsfield, dsfield 1100 net/ipv6/ip6_tunnel.c fl6->flowlabel = ip6_make_flowinfo(dsfield, fl6->flowlabel); dsfield 1212 net/ipv6/ip6_tunnel.c ip6_flow_hdr(ipv6h, dsfield, dsfield 1236 net/ipv6/ip6_tunnel.c __u8 dsfield; dsfield 1262 net/ipv6/ip6_tunnel.c dsfield = key->tos; dsfield 1271 net/ipv6/ip6_tunnel.c dsfield = ipv4_get_dsfield(iph); dsfield 1273 net/ipv6/ip6_tunnel.c dsfield = ip6_tclass(t->parms.flowinfo); dsfield 1281 net/ipv6/ip6_tunnel.c dsfield = INET_ECN_encapsulate(dsfield, ipv4_get_dsfield(iph)); dsfield 1288 net/ipv6/ip6_tunnel.c err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu, dsfield 1309 net/ipv6/ip6_tunnel.c __u8 dsfield; dsfield 1334 net/ipv6/ip6_tunnel.c dsfield = key->tos; dsfield 1357 net/ipv6/ip6_tunnel.c dsfield = ipv6_get_dsfield(ipv6h); dsfield 1359 net/ipv6/ip6_tunnel.c dsfield = ip6_tclass(t->parms.flowinfo); dsfield 1369 net/ipv6/ip6_tunnel.c dsfield = INET_ECN_encapsulate(dsfield, ipv6_get_dsfield(ipv6h)); dsfield 1376 net/ipv6/ip6_tunnel.c err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu, dsfield 949 net/netfilter/ipvs/ip_vs_xmit.c __u32 *payload_len, __u8 *dsfield, __u8 *ttl, dsfield 1001 net/netfilter/ipvs/ip_vs_xmit.c *dsfield = INET_ECN_encapsulate(old_dsfield, old_dsfield); dsfield 1142 net/netfilter/ipvs/ip_vs_xmit.c __u8 dsfield = 0; dsfield 1199 net/netfilter/ipvs/ip_vs_xmit.c &next_protocol, NULL, &dsfield, dsfield 1255 net/netfilter/ipvs/ip_vs_xmit.c iph->tos = dsfield; dsfield 1293 net/netfilter/ipvs/ip_vs_xmit.c __u8 dsfield = 0; dsfield 1348 net/netfilter/ipvs/ip_vs_xmit.c &dsfield, &ttl, NULL); dsfield 1403 net/netfilter/ipvs/ip_vs_xmit.c ipv6_change_dsfield(iph, 0, dsfield); dsfield 240 net/xfrm/xfrm_output.c int dsfield; dsfield 258 net/xfrm/xfrm_output.c dsfield = 0; dsfield 260 net/xfrm/xfrm_output.c dsfield = XFRM_MODE_SKB_CB(skb)->tos; dsfield 261 net/xfrm/xfrm_output.c dsfield = INET_ECN_encapsulate(dsfield, XFRM_MODE_SKB_CB(skb)->tos); dsfield 263 net/xfrm/xfrm_output.c dsfield &= ~INET_ECN_MASK; dsfield 264 net/xfrm/xfrm_output.c ipv6_change_dsfield(top_iph, 0, dsfield); dsfield 183 tools/testing/selftests/bpf/test_flow_dissector.c static void ipv6_set_dsfield(struct ipv6hdr *ip6h, uint8_t dsfield) dsfield 189 tools/testing/selftests/bpf/test_flow_dissector.c val |= ((uint16_t) dsfield) << 4; dsfield 196 tools/testing/selftests/bpf/test_flow_dissector.c int payload_len, uint8_t dsfield) dsfield 204 tools/testing/selftests/bpf/test_flow_dissector.c ipv6_set_dsfield(ip6h, dsfield);