/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_DSCP.c | 31 u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_tg() local 33 if (dscp != dinfo->dscp) { in dscp_tg() 39 dinfo->dscp << XT_DSCP_SHIFT); in dscp_tg() 49 u_int8_t dscp = ipv6_get_dsfield(ipv6_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_tg6() local 51 if (dscp != dinfo->dscp) { in dscp_tg6() 57 dinfo->dscp << XT_DSCP_SHIFT); in dscp_tg6() 66 if (info->dscp > XT_DSCP_MAX) in dscp_tg_check()
|
D | xt_dscp.c | 28 u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_mt() local 30 return (dscp == info->dscp) ^ !!info->invert; in dscp_mt() 37 u_int8_t dscp = ipv6_get_dsfield(ipv6_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_mt6() local 39 return (dscp == info->dscp) ^ !!info->invert; in dscp_mt6() 46 if (info->dscp > XT_DSCP_MAX) in dscp_mt_check()
|
/kernel/linux/linux-5.10/include/net/ |
D | inet_ecn.h | 122 static inline void ipv4_copy_dscp(unsigned int dscp, struct iphdr *inner) in ipv4_copy_dscp() argument 124 dscp &= ~INET_ECN_MASK; in ipv4_copy_dscp() 125 ipv4_change_dsfield(inner, INET_ECN_MASK, dscp); in ipv4_copy_dscp() 168 static inline void ipv6_copy_dscp(unsigned int dscp, struct ipv6hdr *inner) in ipv6_copy_dscp() argument 170 dscp &= ~INET_ECN_MASK; in ipv6_copy_dscp() 171 ipv6_change_dsfield(inner, INET_ECN_MASK, dscp); in ipv6_copy_dscp()
|
D | erspan.h | 163 u8 dscp, cos; in tos_to_cos() local 165 dscp = tos >> 2; in tos_to_cos() 166 cos = dscp >> 3; in tos_to_cos()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | pedit_dsfield.sh | 189 local dscp 191 for dscp in 0 1 2 3 32 61 62 63; do 269 local dscp 271 for dscp in 0 1 2 3 32 61 62 63; do
|
D | lib.sh | 906 local dscp; 909 dscp=$((base + prio)) 910 __icmp_capture_add_del $add_del $((dscp + 100)) "" $dev \ 937 local dscp=$((base + prio)) 938 local t=$(tc_rule_stats_get $dev $((dscp + 100))) 939 echo "[$dscp]=$t "
|
/kernel/linux/linux-5.10/net/sched/ |
D | act_ctinfo.c | 34 u8 dscp, newdscp; in tcf_ctinfo_dscp_set() local 41 dscp = ipv4_get_dsfield(ip_hdr(skb)) & ~INET_ECN_MASK; in tcf_ctinfo_dscp_set() 42 if (dscp != newdscp) { in tcf_ctinfo_dscp_set() 54 dscp = ipv6_get_dsfield(ipv6_hdr(skb)) & ~INET_ECN_MASK; in tcf_ctinfo_dscp_set() 55 if (dscp != newdscp) { in tcf_ctinfo_dscp_set()
|
D | sch_cake.c | 1562 u8 dscp; in cake_handle_diffserv() local 1571 dscp = ipv4_get_dsfield((struct iphdr *)buf) >> 2; in cake_handle_diffserv() 1573 if (wash && dscp) { in cake_handle_diffserv() 1583 return dscp; in cake_handle_diffserv() 1591 dscp = ipv6_get_dsfield((struct ipv6hdr *)buf) >> 2; in cake_handle_diffserv() 1593 if (wash && dscp) { in cake_handle_diffserv() 1603 return dscp; in cake_handle_diffserv() 1620 u8 dscp; in cake_select_tin() local 1629 dscp = cake_handle_diffserv(skb, wash); in cake_select_tin() 1644 dscp = cake_handle_diffserv(skb, wash); in cake_select_tin() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | qos_dscp_router.sh | 181 local dscp=$((prio << 2)) # ICMP Request ingress DSCP 192 ${PING} -Q $dscp ${sip:+-I $sip} $dip \ 219 log_test "DSCP rewrite: $dscp-(prio $prio2)-$dscp2-(prio $prio3)-$dscp3"
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
D | os_intfs.c | 227 unsigned int dscp; in rtw_classify8021d() local 239 dscp = ip_hdr(skb)->tos & 0xfc; in rtw_classify8021d() 245 return dscp >> 5; in rtw_classify8021d() 265 unsigned int dscp; in rtw_recv_select_queue() local 275 dscp = piphdr->tos & 0xfc; in rtw_recv_select_queue() 276 priority = dscp >> 5; in rtw_recv_select_queue()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/ |
D | xt_DSCP.h | 11 __u8 dscp; member
|
D | xt_dscp.h | 13 __u8 dscp; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/ |
D | xt_DSCP.h | 24 __u8 dscp; member
|
D | xt_dscp.h | 26 __u8 dscp; member
|
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/ |
D | xt_DSCP.h | 19 __u8 dscp; member
|
D | xt_dscp.h | 22 __u8 dscp; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_dcb.h | 37 u8 dscp; member
|
/kernel/linux/linux-5.10/net/6lowpan/ |
D | iphc.c | 517 u8 dscp = tf[0] & 0x3f; in lowpan_iphc_tf_set_dscp() local 520 hdr->priority |= ((dscp & 0x3c) >> 2); in lowpan_iphc_tf_set_dscp() 522 hdr->flow_lbl[0] |= ((dscp & 0x03) << 6); in lowpan_iphc_tf_set_dscp() 993 u8 dscp, ecn; in lowpan_iphc_get_tc() local 998 dscp = (hdr->priority << 2) | ((hdr->flow_lbl[0] & 0xc0) >> 6); in lowpan_iphc_get_tc() 1002 pr_debug("ecn 0x%02x dscp 0x%02x\n", ecn >> 4, dscp); in lowpan_iphc_get_tc() 1004 return (ecn << 2) | dscp; in lowpan_iphc_get_tc()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
D | rtl819x_TS.h | 42 u8 dscp; member
|
/kernel/linux/linux-5.10/net/sctp/ |
D | protocol.c | 428 if (t->dscp & SCTP_DSCP_SET_MASK) in sctp_v4_get_dst() 429 tos = t->dscp & SCTP_DSCP_VAL_MASK; in sctp_v4_get_dst() 984 __u8 dscp = inet->tos; in sctp_v4_xmit() local 990 if (transport->dscp & SCTP_DSCP_SET_MASK) in sctp_v4_xmit() 991 dscp = transport->dscp & SCTP_DSCP_VAL_MASK; in sctp_v4_xmit() 998 return __ip_queue_xmit(&inet->sk, skb, &transport->fl, dscp); in sctp_v4_xmit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.c | 1498 MLXSW_ITEM32(afa, qos, dscp, 0x04, 0, 6); 1537 enum mlxsw_afa_qos_dscp_cmd dscp_cmd, u8 dscp) in mlxsw_afa_qos_dscp_pack() argument 1540 mlxsw_afa_qos_dscp_set(payload, dscp); in mlxsw_afa_qos_dscp_pack() 1553 bool set_dscp, u8 dscp, in __mlxsw_afa_block_append_qos_dsfield() argument 1570 dscp); in __mlxsw_afa_block_append_qos_dsfield() 1589 u8 dscp, struct netlink_ext_ack *extack) in mlxsw_afa_block_append_qos_dscp() argument 1592 true, dscp, in mlxsw_afa_block_append_qos_dscp()
|
D | core_acl_flex_actions.h | 76 u8 dscp, struct netlink_ext_ack *extack);
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
D | os_intfs.c | 356 unsigned int dscp; in rtw_classify8021d() local 368 dscp = ip_hdr(skb)->tos & 0xfc; in rtw_classify8021d() 374 return dscp >> 5; in rtw_classify8021d() 395 unsigned int dscp; in rtw_recv_select_queue() local 407 dscp = piphdr->tos & 0xfc; in rtw_recv_select_queue() 409 priority = dscp >> 5; in rtw_recv_select_queue()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | mlx5_ifc_dr.h | 351 u8 dscp[0x6]; member 438 u8 dscp[0x6]; member
|
/kernel/linux/linux-5.10/net/wireless/ |
D | util.c | 835 unsigned int dscp; in cfg80211_classify8021d() local 860 dscp = ipv4_get_dsfield(ip_hdr(skb)) & 0xfc; in cfg80211_classify8021d() 863 dscp = ipv6_get_dsfield(ipv6_hdr(skb)) & 0xfc; in cfg80211_classify8021d() 886 unsigned int i, tmp_dscp = dscp >> 2; in cfg80211_classify8021d() 889 if (tmp_dscp == qos_map->dscp_exception[i].dscp) { in cfg80211_classify8021d() 904 ret = dscp >> 5; in cfg80211_classify8021d()
|