Home
last modified time | relevance | path

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

/net/netfilter/
Dnf_tables_offload.c24 flow->rule->match.dissector = &flow->match.dissector; in nft_flow_rule_alloc()
38 if (match->dissector.used_keys & BIT(FLOW_DISSECTOR_KEY_CONTROL)) in nft_flow_rule_set_addr_type()
43 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_CONTROL); in nft_flow_rule_set_addr_type()
44 match->dissector.offset[FLOW_DISSECTOR_KEY_CONTROL] = in nft_flow_rule_set_addr_type()
62 if (match->dissector.used_keys & BIT(FLOW_DISSECTOR_KEY_VLAN) && in nft_flow_rule_transfer_vlan()
71 match->dissector.offset[FLOW_DISSECTOR_KEY_CVLAN] = in nft_flow_rule_transfer_vlan()
73 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_CVLAN); in nft_flow_rule_transfer_vlan()
74 } else if (match->dissector.used_keys & BIT(FLOW_DISSECTOR_KEY_BASIC) && in nft_flow_rule_transfer_vlan()
81 match->dissector.offset[FLOW_DISSECTOR_KEY_VLAN] = in nft_flow_rule_transfer_vlan()
83 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_VLAN); in nft_flow_rule_transfer_vlan()
Dnf_flow_table_offload.c30 (__match)->dissector.offset[__type] = \
78 match->dissector.used_keys |= enc_keys; in nf_flow_rule_lwt_match()
163 match->dissector.used_keys |= BIT(key->control.addr_type); in nf_flow_rule_match()
170 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_TCP); in nf_flow_rule_match()
186 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_META) | in nf_flow_rule_match()
740 flow_rule->rule->match.dissector = &flow_rule->match.dissector; in nf_flow_offload_rule_alloc()
Dnft_cmp.c164 flow->match.dissector.used_keys |= BIT(reg->key); in __nft_cmp_offload()
165 flow->match.dissector.offset[reg->key] = reg->base_offset; in __nft_cmp_offload()
/net/ethtool/
Dioctl.c3013 struct flow_dissector dissector; member
3040 flow->rule->match.dissector = &match->dissector; in ethtool_rx_flow_rule_create()
3090 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3092 match->dissector.offset[FLOW_DISSECTOR_KEY_IPV4_ADDRS] = in ethtool_rx_flow_rule_create()
3105 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3107 match->dissector.offset[FLOW_DISSECTOR_KEY_PORTS] = in ethtool_rx_flow_rule_create()
3113 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3115 match->dissector.offset[FLOW_DISSECTOR_KEY_IP] = in ethtool_rx_flow_rule_create()
3142 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3144 match->dissector.offset[FLOW_DISSECTOR_KEY_IPV6_ADDRS] = in ethtool_rx_flow_rule_create()
[all …]
/net/sched/
Dcls_flower.c88 struct flow_dissector dissector; member
98 struct flow_dissector dissector; member
323 skb_flow_dissect_meta(skb, &mask->dissector, &skb_key); in fl_classify()
328 skb_flow_dissect_tunnel_info(skb, &mask->dissector, &skb_key); in fl_classify()
329 skb_flow_dissect_ct(skb, &mask->dissector, &skb_key, in fl_classify()
333 skb_flow_dissect_hash(skb, &mask->dissector, &skb_key); in fl_classify()
334 skb_flow_dissect(skb, &mask->dissector, &skb_key, 0); in fl_classify()
460 cls_flower.rule->match.dissector = &f->mask->dissector; in fl_hw_replace_filter()
1784 static void fl_init_dissector(struct flow_dissector *dissector, in fl_init_dissector() argument
1839 skb_flow_dissector_init(dissector, keys, cnt); in fl_init_dissector()
[all …]
/net/core/
Dflow_offload.c32 struct flow_dissector *__d = (__m)->dissector; \