Home
last modified time | relevance | path

Searched refs:dscp (Results 1 – 4 of 4) sorted by relevance

/net/netfilter/
Dxt_DSCP.c34 u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_tg() local
36 if (dscp != dinfo->dscp) { in dscp_tg()
41 dinfo->dscp << XT_DSCP_SHIFT); in dscp_tg()
51 u_int8_t dscp = ipv6_get_dsfield(ipv6_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_tg6() local
53 if (dscp != dinfo->dscp) { in dscp_tg6()
58 dinfo->dscp << XT_DSCP_SHIFT); in dscp_tg6()
67 if (info->dscp > XT_DSCP_MAX) { in dscp_tg_check()
68 pr_info("dscp %x out of range\n", info->dscp); in dscp_tg_check()
Dxt_dscp.c31 u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_mt() local
33 return (dscp == info->dscp) ^ !!info->invert; in dscp_mt()
40 u_int8_t dscp = ipv6_get_dsfield(ipv6_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_mt6() local
42 return (dscp == info->dscp) ^ !!info->invert; in dscp_mt6()
49 if (info->dscp > XT_DSCP_MAX) { in dscp_mt_check()
50 pr_info("dscp %x out of range\n", info->dscp); in dscp_mt_check()
DKconfig1076 tristate '"dscp" and "tos" match support'
/net/wireless/
Dutil.c698 unsigned int dscp; in cfg80211_classify8021d() local
718 dscp = ipv4_get_dsfield(ip_hdr(skb)) & 0xfc; in cfg80211_classify8021d()
721 dscp = ipv6_get_dsfield(ipv6_hdr(skb)) & 0xfc; in cfg80211_classify8021d()
743 unsigned int i, tmp_dscp = dscp >> 2; in cfg80211_classify8021d()
746 if (tmp_dscp == qos_map->dscp_exception[i].dscp) in cfg80211_classify8021d()
757 return dscp >> 5; in cfg80211_classify8021d()