/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | pedit_dsfield.sh | 170 local dsfield 172 for dsfield in 0 1 2 3 128 252 253 254 255; do 174 "ip dsfield set $dsfield" \ 175 ip "ip_tos $dsfield" \ 229 flower action pedit ex munge ip dsfield set 124 retain 0xfc \ 230 action pedit ex munge ip dsfield set 1 retain 0x03 250 local dsfield 252 for dsfield in 0 1 2 3 128 252 253 254 255; do 254 "ip6 traffic_class set $dsfield" \ 255 ipv6 "ip_tos $dsfield" \
|
/kernel/linux/linux-5.10/include/net/ |
D | dsfield.h | 32 __u8 dsfield; in ipv4_change_dsfield() local 34 dsfield = (iph->tos & mask) | value; in ipv4_change_dsfield() 37 check -= dsfield; in ipv4_change_dsfield() 40 iph->tos = dsfield; in ipv4_change_dsfield()
|
D | inet_ecn.h | 22 static inline int INET_ECN_is_ce(__u8 dsfield) in INET_ECN_is_ce() argument 24 return (dsfield & INET_ECN_MASK) == INET_ECN_CE; in INET_ECN_is_ce() 27 static inline int INET_ECN_is_not_ect(__u8 dsfield) in INET_ECN_is_not_ect() argument 29 return (dsfield & INET_ECN_MASK) == INET_ECN_NOT_ECT; in INET_ECN_is_not_ect() 32 static inline int INET_ECN_is_capable(__u8 dsfield) in INET_ECN_is_capable() argument 34 return dsfield & INET_ECN_ECT_0; in INET_ECN_is_capable()
|
D | ip6_tunnel.h | 144 int ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev, __u8 dsfield,
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_gre.c | 638 struct flowi6 *fl6, __u8 *dsfield, in prepare_ip6gre_xmit_ipv4() argument 650 *dsfield = ipv4_get_dsfield(iph); in prepare_ip6gre_xmit_ipv4() 652 *dsfield = ip6_tclass(t->parms.flowinfo); in prepare_ip6gre_xmit_ipv4() 664 struct flowi6 *fl6, __u8 *dsfield, in prepare_ip6gre_xmit_ipv6() argument 692 *dsfield = ipv6_get_dsfield(ipv6h); in prepare_ip6gre_xmit_ipv6() 694 *dsfield = ip6_tclass(t->parms.flowinfo); in prepare_ip6gre_xmit_ipv6() 721 struct net_device *dev, __u8 dsfield, in __gre6_xmit() argument 760 dsfield = key->tos; in __gre6_xmit() 780 return ip6_tnl_xmit(skb, dev, dsfield, fl6, encap_limit, pmtu, in __gre6_xmit() 789 __u8 dsfield = 0; in ip6gre_xmit_ipv4() local [all …]
|
D | ip6_tunnel.c | 745 __u8 dsfield = ipv6_get_dsfield(ipv6h) & ~INET_ECN_MASK; in ip4ip6_dscp_ecn_decapsulate() local 748 ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, dsfield); in ip4ip6_dscp_ecn_decapsulate() 1105 int ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev, __u8 dsfield, in ip6_tnl_xmit() argument 1173 fl6->flowlabel = ip6_make_flowinfo(dsfield, fl6->flowlabel); in ip6_tnl_xmit() 1285 ip6_flow_hdr(ipv6h, dsfield, in ip6_tnl_xmit() 1312 __u8 dsfield, orig_dsfield; in ipxip6_tnl_xmit() local 1335 dsfield = key->tos; in ipxip6_tnl_xmit() 1346 orig_dsfield = dsfield; in ipxip6_tnl_xmit() 1383 dsfield = orig_dsfield; in ipxip6_tnl_xmit() 1385 dsfield = ip6_tclass(t->parms.flowinfo); in ipxip6_tnl_xmit() [all …]
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_output.c | 246 int dsfield; in xfrm6_tunnel_encap_add() local 264 dsfield = 0; in xfrm6_tunnel_encap_add() 266 dsfield = XFRM_MODE_SKB_CB(skb)->tos; in xfrm6_tunnel_encap_add() 267 dsfield = INET_ECN_encapsulate(dsfield, XFRM_MODE_SKB_CB(skb)->tos); in xfrm6_tunnel_encap_add() 269 dsfield &= ~INET_ECN_MASK; in xfrm6_tunnel_encap_add() 270 ipv6_change_dsfield(top_iph, 0, dsfield); in xfrm6_tunnel_encap_add()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 183 static void ipv6_set_dsfield(struct ipv6hdr *ip6h, uint8_t dsfield) in ipv6_set_dsfield() argument 189 val |= ((uint16_t) dsfield) << 4; in ipv6_set_dsfield() 196 int payload_len, uint8_t dsfield) in build_ipv6_header() argument 204 ipv6_set_dsfield(ip6h, dsfield); in build_ipv6_header()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 949 __u32 *payload_len, __u8 *dsfield, __u8 *ttl, in ip_vs_prepare_tunneled_skb() argument 1001 *dsfield = INET_ECN_encapsulate(old_dsfield, old_dsfield); in ip_vs_prepare_tunneled_skb() 1142 __u8 dsfield = 0; in ip_vs_tunnel_xmit() local 1199 &next_protocol, NULL, &dsfield, in ip_vs_tunnel_xmit() 1255 iph->tos = dsfield; in ip_vs_tunnel_xmit() 1293 __u8 dsfield = 0; in ip_vs_tunnel_xmit_v6() local 1348 &dsfield, &ttl, NULL); in ip_vs_tunnel_xmit_v6() 1403 ipv6_change_dsfield(iph, 0, dsfield); in ip_vs_tunnel_xmit_v6()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.h | 73 u8 dsfield,
|
D | core_acl_flex_actions.c | 1578 u8 dsfield, in mlxsw_afa_block_append_qos_dsfield() argument 1582 true, dsfield >> 2, in mlxsw_afa_block_append_qos_dsfield() 1583 true, dsfield & 0x03, in mlxsw_afa_block_append_qos_dsfield()
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | qos_dscp_router.sh | 254 action pedit ex munge ip dsfield set $((3 << 2)) retain 0xfc \
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | Makefile | 16 dsfield.o \
|