Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dxt_dscp.c60 return ((ip_hdr(skb)->tos & info->tos_mask) == in tos_mt()
63 return ((ipv6_get_dsfield(ipv6_hdr(skb)) & info->tos_mask) == in tos_mt()
Dxt_DSCP.c82 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg()
102 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg6()
/Linux-v4.19/include/uapi/linux/netfilter/
Dxt_DSCP.h24 __u8 tos_mask; member
Dxt_dscp.h27 __u8 tos_mask; member
/Linux-v4.19/net/sched/
Dcls_flower.c616 int tos_mask = encap ? TCA_FLOWER_KEY_ENC_IP_TOS_MASK : TCA_FLOWER_KEY_IP_TOS_MASK; in fl_set_key_ip() local
619 fl_set_key_val(tb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)); in fl_set_key_ip()
1508 int tos_mask = encap ? TCA_FLOWER_KEY_ENC_IP_TOS_MASK : TCA_FLOWER_KEY_IP_TOS_MASK; in fl_dump_key_ip() local
1511 if (fl_dump_key_val(skb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)) || in fl_dump_key_ip()
/Linux-v4.19/drivers/net/ethernet/sun/
Dniu.c2952 u64 tos_mask, u64 tos_val) in tcam_user_ip_class_set() argument
2960 (tos_mask & ~(u64)0xff) != 0 || in tcam_user_ip_class_set()
2971 val |= (tos_mask << L3_CLS_TOSMASK_SHIFT); in tcam_user_ip_class_set()