Searched refs:bpf_flow_keys (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_flow.c | 72 __type(value, struct bpf_flow_keys); 79 struct bpf_flow_keys val; in export_flow_keys() 118 struct bpf_flow_keys *keys = skb->flow_keys; in parse_eth_proto() 146 struct bpf_flow_keys *keys = skb->flow_keys; in _dissect() 167 struct bpf_flow_keys *keys = skb->flow_keys; in parse_ip_proto() 258 struct bpf_flow_keys *keys = skb->flow_keys; in parse_ipv6_proto() 278 struct bpf_flow_keys *keys = skb->flow_keys; in PROG() 326 struct bpf_flow_keys *keys = skb->flow_keys; in PROG() 348 struct bpf_flow_keys *keys = skb->flow_keys; in PROG() 366 struct bpf_flow_keys *keys = skb->flow_keys; in PROG() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector_load_bytes.c | 7 struct bpf_flow_keys flow_keys; in serial_test_flow_dissector_load_bytes()
|
H A D | flow_dissector.c | 103 struct bpf_flow_keys keys; 550 struct bpf_flow_keys flow_keys = {}; in run_tests_skb_less() 637 struct bpf_flow_keys flow_keys; in test_flow_dissector() 643 static struct bpf_flow_keys ctx = {}; in test_flow_dissector()
|
/openbmc/linux/Documentation/bpf/ |
H A D | prog_flow_dissector.rst | 22 ``flow_keys`` is ``struct bpf_flow_keys`` and contains flow dissector input 32 bpf_flow_keys`` fields. Input arguments ``nhoff/thoff/n_proto`` should be 143 and double VLAN (802.1AD) tags. Please refer to the ``struct bpf_flow_keys``
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 1292 static int verify_user_bpf_flow_keys(struct bpf_flow_keys *ctx) in verify_user_bpf_flow_keys() 1295 if (!range_is_zero(ctx, 0, offsetof(struct bpf_flow_keys, flags))) in verify_user_bpf_flow_keys() 1300 if (!range_is_zero(ctx, offsetofend(struct bpf_flow_keys, flags), in verify_user_bpf_flow_keys() 1301 sizeof(struct bpf_flow_keys))) in verify_user_bpf_flow_keys() 1315 struct bpf_flow_keys *user_ctx; in bpf_prog_test_run_flow_dissector() 1316 struct bpf_flow_keys flow_keys; in bpf_prog_test_run_flow_dissector() 1338 user_ctx = bpf_ctx_init(kattr, sizeof(struct bpf_flow_keys)); in bpf_prog_test_run_flow_dissector() 1368 sizeof(struct bpf_flow_keys)); in bpf_prog_test_run_flow_dissector()
|
/openbmc/linux/include/net/ |
H A D | flow_dissector.h | 454 struct bpf_flow_keys *flow_keys;
|
H A D | sch_generic.h | 27 struct bpf_flow_keys;
|
/openbmc/linux/net/core/ |
H A D | flow_dissector.c | 899 static void __skb_flow_bpf_to_target(const struct bpf_flow_keys *flow_keys, in __skb_flow_bpf_to_target() 974 struct bpf_flow_keys *flow_keys = ctx->flow_keys; in bpf_flow_dissect() 1107 struct bpf_flow_keys flow_keys; in __skb_flow_dissect()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 6130 __bpf_md_ptr(struct bpf_flow_keys *, flow_keys); 7106 struct bpf_flow_keys { struct
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 6127 __bpf_md_ptr(struct bpf_flow_keys *, flow_keys); 7103 struct bpf_flow_keys { struct
|
/openbmc/linux/kernel/bpf/ |
H A D | verifier.c | 5592 (u64)off + size > sizeof(struct bpf_flow_keys)) { in check_flow_keys_access()
|