Home
last modified time | relevance | path

Searched refs:bpf_flow_keys (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c72 __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 Dflow_dissector_load_bytes.c7 struct bpf_flow_keys flow_keys; in serial_test_flow_dissector_load_bytes()
H A Dflow_dissector.c103 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 Dprog_flow_dissector.rst22 ``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 Dtest_run.c1292 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 Dflow_dissector.h454 struct bpf_flow_keys *flow_keys;
H A Dsch_generic.h27 struct bpf_flow_keys;
/openbmc/linux/net/core/
H A Dflow_dissector.c899 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 Dbpf.h6130 __bpf_md_ptr(struct bpf_flow_keys *, flow_keys);
7106 struct bpf_flow_keys { struct
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6127 __bpf_md_ptr(struct bpf_flow_keys *, flow_keys);
7103 struct bpf_flow_keys { struct
/openbmc/linux/kernel/bpf/
H A Dverifier.c5592 (u64)off + size > sizeof(struct bpf_flow_keys)) { in check_flow_keys_access()