Searched refs:dscp (Results 1 – 4 of 4) sorted by relevance
34 u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_tg() local36 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() local53 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()
31 u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; in dscp_mt() local33 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() local42 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()
1076 tristate '"dscp" and "tos" match support'
698 unsigned int dscp; in cfg80211_classify8021d() local718 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()