Home
last modified time | relevance | path

Searched refs:tos_mask (Results 1 – 3 of 3) sorted by relevance

/net/netfilter/
Dxt_dscp.c57 return ((ip_hdr(skb)->tos & info->tos_mask) == in tos_mt()
60 return ((ipv6_get_dsfield(ipv6_hdr(skb)) & info->tos_mask) == in tos_mt()
Dxt_DSCP.c79 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg()
99 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg6()
/net/sched/
Dcls_flower.c1080 int tos_mask = encap ? TCA_FLOWER_KEY_ENC_IP_TOS_MASK : TCA_FLOWER_KEY_IP_TOS_MASK; in fl_set_key_ip() local
1083 fl_set_key_val(tb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)); in fl_set_key_ip()
2598 int tos_mask = encap ? TCA_FLOWER_KEY_ENC_IP_TOS_MASK : TCA_FLOWER_KEY_IP_TOS_MASK; in fl_dump_key_ip() local
2601 if (fl_dump_key_val(skb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)) || in fl_dump_key_ip()