dscp 427 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c dscp2pri->dscp = app->protocol; dscp 37 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.h u8 dscp; dscp 57 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c static int mlx5e_set_dscp2prio(struct mlx5e_priv *priv, u8 dscp, u8 prio); dscp 1148 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c static int mlx5e_set_dscp2prio(struct mlx5e_priv *priv, u8 dscp, u8 prio) dscp 1152 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = mlx5_set_dscp2prio(priv->mdev, dscp, prio); dscp 1156 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx_dp.dscp2prio[dscp] = prio; dscp 917 drivers/net/ethernet/mellanox/mlx5/core/port.c int mlx5_set_dscp2prio(struct mlx5_core_dev *mdev, u8 dscp, u8 prio) dscp 941 drivers/net/ethernet/mellanox/mlx5/core/port.c qpdpm_dscp = MLX5_ADDR_OF(qpdpm_reg, in, dscp[dscp]); dscp 976 drivers/net/ethernet/mellanox/mlx5/core/port.c qpdpm_dscp = MLX5_ADDR_OF(qpdpm_reg, out, dscp[i]); dscp 1222 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dscp, mask, ip_dscp); dscp 1248 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(eth_l3_ipv4_5_tuple, tag, dscp, spec, ip_dscp); dscp 1592 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_MASK_V(eth_l4, bit_mask, dscp, mask, ip_dscp); dscp 1616 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(eth_l4, tag, dscp, spec, ip_dscp); dscp 350 drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5_ifc_dr.h u8 dscp[0x6]; dscp 437 drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5_ifc_dr.h u8 dscp[0x6]; dscp 3647 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qrwe, dscp, 0x04, 1, 1); dscp 3742 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpdsm_prio_pack(char *payload, unsigned short prio, u8 dscp) dscp 3745 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpdsm_prio_entry_color0_dscp_set(payload, prio, dscp); dscp 3747 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpdsm_prio_entry_color1_dscp_set(payload, prio, dscp); dscp 3749 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpdsm_prio_entry_color2_dscp_set(payload, prio, dscp); dscp 3797 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpdpm_dscp_pack(char *payload, unsigned short dscp, u8 prio) dscp 3799 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpdpm_dscp_entry_e_set(payload, dscp, 1); dscp 3800 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpdpm_dscp_entry_prio_set(payload, dscp, prio); dscp 9873 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, tnqdr, dscp, 0x04, 0, 6); dscp 227 drivers/staging/rtl8188eu/os_dep/os_intfs.c unsigned int dscp; dscp 239 drivers/staging/rtl8188eu/os_dep/os_intfs.c dscp = ip_hdr(skb)->tos & 0xfc; dscp 245 drivers/staging/rtl8188eu/os_dep/os_intfs.c return dscp >> 5; dscp 265 drivers/staging/rtl8188eu/os_dep/os_intfs.c unsigned int dscp; dscp 275 drivers/staging/rtl8188eu/os_dep/os_intfs.c dscp = piphdr->tos & 0xfc; dscp 276 drivers/staging/rtl8188eu/os_dep/os_intfs.c priority = dscp >> 5; dscp 42 drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h u8 dscp; dscp 376 drivers/staging/rtl8723bs/os_dep/os_intfs.c unsigned int dscp; dscp 388 drivers/staging/rtl8723bs/os_dep/os_intfs.c dscp = ip_hdr(skb)->tos & 0xfc; dscp 394 drivers/staging/rtl8723bs/os_dep/os_intfs.c return dscp >> 5; dscp 415 drivers/staging/rtl8723bs/os_dep/os_intfs.c unsigned int dscp; dscp 427 drivers/staging/rtl8723bs/os_dep/os_intfs.c dscp = piphdr->tos & 0xfc; dscp 429 drivers/staging/rtl8723bs/os_dep/os_intfs.c priority = dscp >> 5; dscp 664 include/linux/mlx5/mlx5_ifc.h u8 dscp[0x6]; dscp 3493 include/linux/mlx5/mlx5_ifc.h u8 dscp[0x6]; dscp 9622 include/linux/mlx5/mlx5_ifc.h struct mlx5_ifc_qpdpm_dscp_reg_bits dscp[64]; dscp 199 include/linux/mlx5/port.h int mlx5_set_dscp2prio(struct mlx5_core_dev *mdev, u8 dscp, u8 prio); dscp 2863 include/net/cfg80211.h u8 dscp; dscp 148 include/net/erspan.h u8 dscp, cos; dscp 150 include/net/erspan.h dscp = tos >> 2; dscp 151 include/net/erspan.h cos = dscp >> 3; dscp 121 include/net/inet_ecn.h static inline void ipv4_copy_dscp(unsigned int dscp, struct iphdr *inner) dscp 123 include/net/inet_ecn.h dscp &= ~INET_ECN_MASK; dscp 124 include/net/inet_ecn.h ipv4_change_dsfield(inner, INET_ECN_MASK, dscp); dscp 167 include/net/inet_ecn.h static inline void ipv6_copy_dscp(unsigned int dscp, struct ipv6hdr *inner) dscp 169 include/net/inet_ecn.h dscp &= ~INET_ECN_MASK; dscp 170 include/net/inet_ecn.h ipv6_change_dsfield(inner, INET_ECN_MASK, dscp); dscp 185 include/net/sctp/structs.h __u8 dscp; dscp 893 include/net/sctp/structs.h __u8 dscp; dscp 1801 include/net/sctp/structs.h __u8 dscp; dscp 19 include/uapi/linux/netfilter/xt_DSCP.h __u8 dscp; dscp 22 include/uapi/linux/netfilter/xt_dscp.h __u8 dscp; dscp 517 net/6lowpan/iphc.c u8 dscp = tf[0] & 0x3f; dscp 520 net/6lowpan/iphc.c hdr->priority |= ((dscp & 0x3c) >> 2); dscp 522 net/6lowpan/iphc.c hdr->flow_lbl[0] |= ((dscp & 0x03) << 6); dscp 993 net/6lowpan/iphc.c u8 dscp, ecn; dscp 998 net/6lowpan/iphc.c dscp = (hdr->priority << 2) | ((hdr->flow_lbl[0] & 0xc0) >> 6); dscp 1002 net/6lowpan/iphc.c pr_debug("ecn 0x%02x dscp 0x%02x\n", ecn >> 4, dscp); dscp 1004 net/6lowpan/iphc.c return (ecn << 2) | dscp; dscp 31 net/netfilter/xt_DSCP.c u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; dscp 33 net/netfilter/xt_DSCP.c if (dscp != dinfo->dscp) { dscp 39 net/netfilter/xt_DSCP.c dinfo->dscp << XT_DSCP_SHIFT); dscp 49 net/netfilter/xt_DSCP.c u_int8_t dscp = ipv6_get_dsfield(ipv6_hdr(skb)) >> XT_DSCP_SHIFT; dscp 51 net/netfilter/xt_DSCP.c if (dscp != dinfo->dscp) { dscp 57 net/netfilter/xt_DSCP.c dinfo->dscp << XT_DSCP_SHIFT); dscp 66 net/netfilter/xt_DSCP.c if (info->dscp > XT_DSCP_MAX) dscp 28 net/netfilter/xt_dscp.c u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; dscp 30 net/netfilter/xt_dscp.c return (dscp == info->dscp) ^ !!info->invert; dscp 37 net/netfilter/xt_dscp.c u_int8_t dscp = ipv6_get_dsfield(ipv6_hdr(skb)) >> XT_DSCP_SHIFT; dscp 39 net/netfilter/xt_dscp.c return (dscp == info->dscp) ^ !!info->invert; dscp 46 net/netfilter/xt_dscp.c if (info->dscp > XT_DSCP_MAX) dscp 34 net/sched/act_ctinfo.c u8 dscp, newdscp; dscp 41 net/sched/act_ctinfo.c dscp = ipv4_get_dsfield(ip_hdr(skb)) & ~INET_ECN_MASK; dscp 42 net/sched/act_ctinfo.c if (dscp != newdscp) { dscp 54 net/sched/act_ctinfo.c dscp = ipv6_get_dsfield(ipv6_hdr(skb)) & ~INET_ECN_MASK; dscp 55 net/sched/act_ctinfo.c if (dscp != newdscp) { dscp 1521 net/sched/sch_cake.c u8 dscp; dscp 1530 net/sched/sch_cake.c dscp = ipv4_get_dsfield(ip_hdr(skb)) >> 2; dscp 1531 net/sched/sch_cake.c if (wash && dscp) dscp 1533 net/sched/sch_cake.c return dscp; dscp 1541 net/sched/sch_cake.c dscp = ipv6_get_dsfield(ipv6_hdr(skb)) >> 2; dscp 1542 net/sched/sch_cake.c if (wash && dscp) dscp 1544 net/sched/sch_cake.c return dscp; dscp 1560 net/sched/sch_cake.c u8 dscp; dscp 1565 net/sched/sch_cake.c dscp = cake_handle_diffserv(skb, dscp 1581 net/sched/sch_cake.c tin = q->tin_index[dscp]; dscp 104 net/sctp/associola.c asoc->dscp = sp->dscp; dscp 645 net/sctp/associola.c peer->dscp = asoc->dscp; dscp 205 net/sctp/ipv6.c if (transport->dscp & SCTP_DSCP_SET_MASK) dscp 206 net/sctp/ipv6.c tclass = transport->dscp & SCTP_DSCP_VAL_MASK; dscp 421 net/sctp/protocol.c if (t->dscp & SCTP_DSCP_SET_MASK) dscp 422 net/sctp/protocol.c tos = t->dscp & SCTP_DSCP_VAL_MASK; dscp 977 net/sctp/protocol.c __u8 dscp = inet->tos; dscp 983 net/sctp/protocol.c if (transport->dscp & SCTP_DSCP_SET_MASK) dscp 984 net/sctp/protocol.c dscp = transport->dscp & SCTP_DSCP_VAL_MASK; dscp 991 net/sctp/protocol.c return __ip_queue_xmit(&inet->sk, skb, &transport->fl, dscp); dscp 2603 net/sctp/socket.c trans->dscp = params->spp_dscp & SCTP_DSCP_VAL_MASK; dscp 2604 net/sctp/socket.c trans->dscp |= SCTP_DSCP_SET_MASK; dscp 2610 net/sctp/socket.c t->dscp = params->spp_dscp & dscp 2612 net/sctp/socket.c t->dscp |= SCTP_DSCP_SET_MASK; dscp 2614 net/sctp/socket.c asoc->dscp = params->spp_dscp & SCTP_DSCP_VAL_MASK; dscp 2615 net/sctp/socket.c asoc->dscp |= SCTP_DSCP_SET_MASK; dscp 2617 net/sctp/socket.c sp->dscp = params->spp_dscp & SCTP_DSCP_VAL_MASK; dscp 2618 net/sctp/socket.c sp->dscp |= SCTP_DSCP_SET_MASK; dscp 5989 net/sctp/socket.c if (trans->dscp & SCTP_DSCP_SET_MASK) { dscp 5990 net/sctp/socket.c params.spp_dscp = trans->dscp & SCTP_DSCP_VAL_MASK; dscp 6007 net/sctp/socket.c if (asoc->dscp & SCTP_DSCP_SET_MASK) { dscp 6008 net/sctp/socket.c params.spp_dscp = asoc->dscp & SCTP_DSCP_VAL_MASK; dscp 6025 net/sctp/socket.c if (sp->dscp & SCTP_DSCP_SET_MASK) { dscp 6026 net/sctp/socket.c params.spp_dscp = sp->dscp & SCTP_DSCP_VAL_MASK; dscp 740 net/wireless/util.c unsigned int dscp; dscp 765 net/wireless/util.c dscp = ipv4_get_dsfield(ip_hdr(skb)) & 0xfc; dscp 768 net/wireless/util.c dscp = ipv6_get_dsfield(ipv6_hdr(skb)) & 0xfc; dscp 791 net/wireless/util.c unsigned int i, tmp_dscp = dscp >> 2; dscp 794 net/wireless/util.c if (tmp_dscp == qos_map->dscp_exception[i].dscp) { dscp 809 net/wireless/util.c ret = dscp >> 5;