Searched refs:tos_mask (Results 1 – 3 of 3) sorted by relevance
/net/netfilter/ |
D | xt_dscp.c | 57 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()
|
D | xt_DSCP.c | 79 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/ |
D | cls_flower.c | 1080 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()
|