Home
last modified time | relevance | path

Searched refs:flow_dissector (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.6.21/net/core/
Dflow_dissector.c40 static void dissector_set_key(struct flow_dissector *flow_dissector, in dissector_set_key() argument
43 flow_dissector->used_keys |= (1ULL << key_id); in dissector_set_key()
46 void skb_flow_dissector_init(struct flow_dissector *flow_dissector, in skb_flow_dissector_init() argument
52 memset(flow_dissector, 0, sizeof(*flow_dissector)); in skb_flow_dissector_init()
59 BUG_ON(dissector_uses_key(flow_dissector, in skb_flow_dissector_init()
62 dissector_set_key(flow_dissector, key->key_id); in skb_flow_dissector_init()
63 flow_dissector->offset[key->key_id] = key->offset; in skb_flow_dissector_init()
69 BUG_ON(!dissector_uses_key(flow_dissector, in skb_flow_dissector_init()
71 BUG_ON(!dissector_uses_key(flow_dissector, in skb_flow_dissector_init()
192 struct flow_dissector *flow_dissector, in __skb_flow_dissect_icmp() argument
[all …]
DMakefile8 flow_dissector.o
Dflow_offload.c53 struct flow_dissector *__d = (__m)->dissector; \
/linux-6.6.21/include/net/
Dflow_dissector.h381 struct flow_dissector { struct
412 extern struct flow_dissector flow_keys_dissector;
413 extern struct flow_dissector flow_keys_basic_dissector;
440 static inline bool dissector_uses_key(const struct flow_dissector *flow_dissector, in dissector_uses_key() argument
443 return flow_dissector->used_keys & (1ULL << key_id); in dissector_uses_key()
446 static inline void *skb_flow_dissector_target(struct flow_dissector *flow_dissector, in skb_flow_dissector_target() argument
450 return ((char *)target_container) + flow_dissector->offset[key_id]; in skb_flow_dissector_target()
Dflow_offload.h10 struct flow_dissector *dissector;
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh28 type flow_dissector
31 /sys/fs/bpf/flow/_dissect flow_dissector; then
37 flow_dissector
40 /sys/fs/bpf/flow/_dissect flow_dissector; then
46 /sys/fs/bpf/flow/_dissect flow_dissector; then
/linux-6.6.21/samples/bpf/
Dsockex2_kern.c100 static inline bool flow_dissector(struct __sk_buff *skb, in flow_dissector() function
207 if (!flow_dissector(skb, &flow)) in bpf_prog2()
/linux-6.6.21/tools/bpf/bpftool/Documentation/
Dbpftool-net.rst41 classifier/action attachments, flow_dissector as well as netfilter
55 all tcx, then tc class/qdisc bpf program attachments, then flow_dissector
Dbpftool-prog.rst58 | **sk_skb_stream_parser** | **flow_dissector**
172 parameter, with the exception of *flow_dissector* which is
178 parameter, with the exception of *flow_dissector* which is
/linux-6.6.21/include/linux/
Dskbuff.h1487 void skb_flow_dissector_init(struct flow_dissector *flow_dissector,
1497 struct flow_dissector *flow_dissector,
1502 struct flow_dissector *flow_dissector, in skb_flow_dissect() argument
1505 return __skb_flow_dissect(NULL, skb, flow_dissector, in skb_flow_dissect()
1531 struct flow_dissector *flow_dissector,
1540 struct flow_dissector *flow_dissector,
1546 struct flow_dissector *flow_dissector,
1550 struct flow_dissector *flow_dissector,
Dbpf_types.h35 BPF_PROG_TYPE(BPF_PROG_TYPE_FLOW_DISSECTOR, flow_dissector,
/linux-6.6.21/include/net/netfilter/
Dnf_tables_offload.h59 struct flow_dissector dissector;
Dnf_flow_table.h42 struct flow_dissector dissector;
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c463 struct flow_dissector *dissector = rule->match.dissector; in tc_add_basic_flow()
481 struct flow_dissector *dissector = rule->match.dissector; in tc_add_ip4_flow()
516 struct flow_dissector *dissector = rule->match.dissector; in tc_add_ports_flow()
666 struct flow_dissector *dissector = rule->match.dissector; in tc_add_vlan_flow()
737 struct flow_dissector *dissector = rule->match.dissector; in tc_add_ethtype_flow()
/linux-6.6.21/Documentation/bpf/libbpf/
Dprogram_types.rst74 …OW_DISSECTOR`` | ``BPF_FLOW_DISSECTOR`` | ``flow_dissector`` …
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-flower.c15 struct flow_dissector *dissector = rule->match.dissector; in dpaa2_switch_flower_parse_key()
538 struct flow_dissector *dissector = rule->match.dissector; in dpaa2_switch_flower_parse_mirror_key()
/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_flower.c201 struct flow_dissector *dissector = rule->match.dissector; in sja1105_flower_parse_key()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dtc_conntrack.c96 struct flow_dissector *dissector = fr->match.dissector; in efx_tc_ct_parse_match()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_flower.c196 struct flow_dissector *dissector = f_rule->match.dissector; in prestera_flower_parse()
/linux-6.6.21/tools/bpf/bpftool/bash-completion/
Dbpftool418 flow_dissector'
479 kretprobe classifier flow_dissector \
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.c59 struct flow_dissector *dissector = rule->match.dissector; in is_pre_ct_flow()
91 struct flow_dissector *dissector = rule->match.dissector; in is_post_ct_flow()
587 struct flow_dissector *dissector = post_ct_entry->rule->match.dissector; in nfp_ct_check_meta()
Doffload.c245 struct flow_dissector *dissector = rule->match.dissector; in nfp_flower_calculate_key_layers()
1301 struct flow_dissector *dissector = rule->match.dissector; in offload_pre_check()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c563 struct flow_dissector *dissector = rule->match.dissector; in mlxsw_sp_flower_parse()
/linux-6.6.21/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c620 struct flow_dissector *dissector = rule->match.dissector; in am65_cpsw_qos_clsflower_add_policer()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_flower.c577 struct flow_dissector *dissector = rule->match.dissector; in ocelot_flower_parse_key()

12