Searched refs:tos_mask (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/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()
|
/linux-6.6.21/include/uapi/linux/netfilter/ |
D | xt_DSCP.h | 24 __u8 tos_mask; member
|
D | xt_dscp.h | 27 __u8 tos_mask; member
|
/linux-6.6.21/net/sched/ |
D | cls_flower.c | 1182 int tos_mask = encap ? TCA_FLOWER_KEY_ENC_IP_TOS_MASK : TCA_FLOWER_KEY_IP_TOS_MASK; in fl_set_key_ip() local 1185 fl_set_key_val(tb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)); in fl_set_key_ip() 2930 int tos_mask = encap ? TCA_FLOWER_KEY_ENC_IP_TOS_MASK : TCA_FLOWER_KEY_IP_TOS_MASK; in fl_dump_key_ip() local 2933 if (fl_dump_key_val(skb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)) || in fl_dump_key_ip()
|
/linux-6.6.21/drivers/net/ethernet/sun/ |
D | niu.c | 2969 u64 tos_mask, u64 tos_val) in tcam_user_ip_class_set() argument 2977 (tos_mask & ~(u64)0xff) != 0 || in tcam_user_ip_class_set() 2988 val |= (tos_mask << L3_CLS_TOSMASK_SHIFT); in tcam_user_ip_class_set()
|