Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/core/
Dflow_dissector.c36 static void dissector_set_key(struct flow_dissector *flow_dissector, in dissector_set_key() argument
39 flow_dissector->used_keys |= (1 << key_id); in dissector_set_key()
42 void skb_flow_dissector_init(struct flow_dissector *flow_dissector, in skb_flow_dissector_init() argument
48 memset(flow_dissector, 0, sizeof(*flow_dissector)); in skb_flow_dissector_init()
55 BUG_ON(dissector_uses_key(flow_dissector, in skb_flow_dissector_init()
58 dissector_set_key(flow_dissector, key->key_id); in skb_flow_dissector_init()
59 flow_dissector->offset[key->key_id] = key->offset; in skb_flow_dissector_init()
65 BUG_ON(!dissector_uses_key(flow_dissector, in skb_flow_dissector_init()
67 BUG_ON(!dissector_uses_key(flow_dissector, in skb_flow_dissector_init()
188 struct flow_dissector *flow_dissector, in __skb_flow_dissect_icmp() argument
[all …]
DMakefile7 gen_stats.o gen_estimator.o net_namespace.o secure_seq.o flow_dissector.o
Dflow_offload.c32 struct flow_dissector *__d = (__m)->dissector; \
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh26 type flow_dissector
29 /sys/fs/bpf/flow/flow_dissector flow_dissector; then
34 $bpftool prog attach pinned /sys/fs/bpf/flow/flow_dissector \
35 flow_dissector
38 /sys/fs/bpf/flow/flow_dissector flow_dissector; then
44 /sys/fs/bpf/flow/flow_dissector flow_dissector; then
98 ./flow_dissector_load -p bpf_flow.o -s flow_dissector
/kernel/linux/linux-5.10/include/net/
Dflow_dissector.h299 struct flow_dissector { struct
329 extern struct flow_dissector flow_keys_dissector;
330 extern struct flow_dissector flow_keys_basic_dissector;
357 static inline bool dissector_uses_key(const struct flow_dissector *flow_dissector, in dissector_uses_key() argument
360 return flow_dissector->used_keys & (1 << key_id); in dissector_uses_key()
363 static inline void *skb_flow_dissector_target(struct flow_dissector *flow_dissector, in skb_flow_dissector_target() argument
367 return ((char *)target_container) + flow_dissector->offset[key_id]; in skb_flow_dissector_target()
Dflow_offload.h10 struct flow_dissector *dissector;
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dskbuff.h1300 void skb_flow_dissector_init(struct flow_dissector *flow_dissector,
1310 struct flow_dissector *flow_dissector,
1316 struct flow_dissector *flow_dissector, in skb_flow_dissect() argument
1319 return __skb_flow_dissect(NULL, skb, flow_dissector, in skb_flow_dissect()
1345 struct flow_dissector *flow_dissector,
1354 struct flow_dissector *flow_dissector,
1360 struct flow_dissector *flow_dissector,
1364 struct flow_dissector *flow_dissector,
Dbpf_types.h35 BPF_PROG_TYPE(BPF_PROG_TYPE_FLOW_DISSECTOR, flow_dissector,
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_tables_offload.h59 struct flow_dissector dissector;
Dnf_flow_table.h38 struct flow_dissector dissector;
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c428 struct flow_dissector *dissector = rule->match.dissector; in tc_add_basic_flow()
445 struct flow_dissector *dissector = rule->match.dissector; in tc_add_ip4_flow()
480 struct flow_dissector *dissector = rule->match.dissector; in tc_add_ports_flow()
Dstmmac_selftests.c1336 struct flow_dissector *dissector; in __stmmac_test_l3filt()
1462 struct flow_dissector *dissector; in __stmmac_test_l4filt()
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst51 | **msg_verdict** | **stream_verdict** | **stream_parser** | **flow_dissector**
152 parameter, with the exception of *flow_dissector* which is
158 parameter, with the exception of *flow_dissector* which is
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_flower.c200 struct flow_dissector *dissector = rule->match.dissector; in sja1105_flower_parse_key()
/kernel/linux/linux-5.10/tools/bpf/bpftool/bash-completion/
Dbpftool408 stream_parser flow_dissector' -- "$cur" ) )
468 kretprobe classifier flow_dissector \
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c404 struct flow_dissector *dissector = rule->match.dissector; in mlxsw_sp_flower_parse()
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_flower.c440 struct flow_dissector *dissector = rule->match.dissector; in ocelot_flower_parse_key()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c311 struct flow_dissector *dissector = rule->match.dissector; in cxgb4_validate_flow_match()
/kernel/linux/linux-5.10/net/sched/
Dcls_flower.c87 struct flow_dissector dissector;
97 struct flow_dissector dissector;
1753 static void fl_init_dissector(struct flow_dissector *dissector, in fl_init_dissector()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1352 struct flow_dissector *dissector = rule->match.dissector; in enetc_config_clsflower()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c247 struct flow_dissector *dissector = rule->match.dissector; in nfp_flower_calculate_key_layers()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1832 struct flow_dissector *dissector = rule->match.dissector; in qede_parse_flow_attr()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c372 struct flow_dissector *dissector = rule->match.dissector; in bnxt_tc_parse_flow()
/kernel/linux/linux-5.10/net/ethtool/
Dioctl.c2972 struct flow_dissector dissector;

12