/linux-6.1.9/samples/bpf/ |
D | xdp_rxq_info_kern.c | 80 int ingress_ifindex; in xdp_prognum0() local 93 ingress_ifindex = ctx->ingress_ifindex; in xdp_prognum0() 100 if (ingress_ifindex != config->ifindex) { in xdp_prognum0()
|
D | xdp_fwd_kern.c | 102 fib_params.ifindex = ctx->ingress_ifindex; in xdp_fwd_flags()
|
D | test_lwt_bpf.c | 50 skb->ingress_ifindex, skb->ifindex); in do_test_ctx()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_context_test_run.c | 8 __u32 ingress_ifindex, __u32 rx_queue_index, in test_xdp_context_error() argument 15 .ingress_ifindex = ingress_ifindex, in test_xdp_context_error()
|
D | skb_ctx.c | 14 .ingress_ifindex = 11, in test_skb_ctx() 86 ASSERT_EQ(skb.ingress_ifindex, 11, "ctx_out_ingress_ifindex"); in test_skb_ctx()
|
D | xdp_do_redirect.c | 159 ctx_in.ingress_ifindex = ifindex_src; in serial_test_xdp_do_redirect()
|
/linux-6.1.9/tools/testing/selftests/bpf/verifier/ |
D | ctx_sk_lookup.c | 234 offsetof(struct bpf_sk_lookup, ingress_ifindex)), 236 offsetof(struct bpf_sk_lookup, ingress_ifindex) + 1), 238 offsetof(struct bpf_sk_lookup, ingress_ifindex) + 2), 240 offsetof(struct bpf_sk_lookup, ingress_ifindex) + 3), 243 offsetof(struct bpf_sk_lookup, ingress_ifindex)), 245 offsetof(struct bpf_sk_lookup, ingress_ifindex) + 2), 248 offsetof(struct bpf_sk_lookup, ingress_ifindex)), 376 offsetof(struct bpf_sk_lookup, ingress_ifindex)),
|
D | xdp.c | 6 offsetof(struct xdp_md, ingress_ifindex)),
|
D | precise.c | 198 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, offsetof(struct xdp_md, ingress_ifindex)),
|
D | cgroup_skb.c | 46 offsetof(struct __sk_buff, ingress_ifindex)),
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_xdp_devmap_helpers.c | 17 ctx->ingress_ifindex, ctx->egress_ifindex, len); in xdpdm_devlog()
|
D | test_skb_ctx.c | 27 if (skb->ingress_ifindex != 11) in process()
|
D | test_xdp_with_cpumap_helpers.c | 30 if (ctx->ingress_ifindex == IFINDEX_LO) in xdp_dummy_cm()
|
D | test_xdp_with_devmap_helpers.c | 39 ctx->ingress_ifindex, ctx->egress_ifindex, len); in xdp_dummy_dm()
|
D | test_xdp_do_redirect.c | 28 if (xdp->ingress_ifindex != ifindex_in) in xdp_redirect()
|
D | xdp_redirect_multi_kern.c | 42 int if_index = ctx->ingress_ifindex; in xdp_redirect_map_multi_prog()
|
D | test_tc_neigh_fib.c | 93 struct bpf_fib_lookup fib_params = { .ifindex = skb->ingress_ifindex }; in tc_redir()
|
/linux-6.1.9/net/bpf/ |
D | test_run.c | 1032 skb->skb_iif = __skb->ingress_ifindex; in convert___skb_to_skb() 1063 __skb->ingress_ifindex = skb->skb_iif; in convert_skb_to___skb() 1216 unsigned int ingress_ifindex, rx_queue_index; in xdp_convert_md_to_buff() local 1226 ingress_ifindex = xdp_md->ingress_ifindex; in xdp_convert_md_to_buff() 1229 if (!ingress_ifindex && rx_queue_index) in xdp_convert_md_to_buff() 1232 if (ingress_ifindex) { in xdp_convert_md_to_buff() 1234 ingress_ifindex); in xdp_convert_md_to_buff() 1268 if (xdp_md->ingress_ifindex) in xdp_convert_buff_to_md()
|
/linux-6.1.9/include/net/ |
D | flow_dissector.h | 246 int ingress_ifindex; member
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 534 if (!match.mask->ingress_ifindex) in ocelot_flower_parse_indev() 537 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in ocelot_flower_parse_indev() 546 indev = __dev_get_by_index(dev_net(dev), match.key->ingress_ifindex); in ocelot_flower_parse_indev()
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_flower.c | 151 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in prestera_flower_parse_meta() 158 match.key->ingress_ifindex); in prestera_flower_parse_meta()
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | bpf.h | 5866 __u32 ingress_ifindex; member 6068 __u32 ingress_ifindex; /* rxq->dev->ifindex */ member 6877 __u32 ingress_ifindex; /* The arriving interface. Determined by inet_iif. */ member
|
/linux-6.1.9/include/uapi/linux/ |
D | bpf.h | 5866 __u32 ingress_ifindex; member 6068 __u32 ingress_ifindex; /* rxq->dev->ifindex */ member 6877 __u32 ingress_ifindex; /* The arriving interface. Determined by inet_iif. */ member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 297 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in mlxsw_sp_flower_parse_meta() 303 match.key->ingress_ifindex); in mlxsw_sp_flower_parse_meta()
|
/linux-6.1.9/include/linux/ |
D | filter.h | 1371 u32 ingress_ifindex; member 1450 .ingress_ifindex = ifindex, in bpf_sk_lookup_run_v4() 1489 .ingress_ifindex = ifindex, in bpf_sk_lookup_run_v6()
|