/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | verifier_xdp.c | 20 : __imm_const(xdp_md_ingress_ifindex, offsetof(struct xdp_md, ingress_ifindex))
|
H A D | test_xdp_devmap_helpers.c | 17 ctx->ingress_ifindex, ctx->egress_ifindex, len);
|
H A D | test_skb_ctx.c | 29 if (skb->ingress_ifindex != 11)
|
H A D | type_cast.c | 18 int ifindex, ingress_ifindex; variable 33 ingress_ifindex = ctx->ingress_ifindex;
|
H A D | test_xdp_with_cpumap_helpers.c | 30 if (ctx->ingress_ifindex == IFINDEX_LO)
|
H A D | test_xdp_with_devmap_helpers.c | 39 ctx->ingress_ifindex, ctx->egress_ifindex, len);
|
H A D | xdp_redirect_multi_kern.c | 42 int if_index = ctx->ingress_ifindex;
|
H A D | test_xdp_do_redirect.c | 41 if (xdp->ingress_ifindex != (__u32)ifindex_in)
|
H A D | test_tc_neigh_fib.c | 93 struct bpf_fib_lookup fib_params = { .ifindex = skb->ingress_ifindex };
|
H A D | verifier_cgroup_skb.c | 60 __imm_const(__sk_buff_ingress_ifindex, offsetof(struct __sk_buff, ingress_ifindex)),
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_context_test_run.c | 8 __u32 ingress_ifindex, __u32 rx_queue_index, 15 .ingress_ifindex = ingress_ifindex, 6 test_xdp_context_error(int prog_fd, struct bpf_test_run_opts opts, __u32 data_meta, __u32 data, __u32 data_end, __u32 ingress_ifindex, __u32 rx_queue_index, __u32 egress_ifindex) argument
|
H A D | skb_ctx.c | 14 .ingress_ifindex = 11, 86 ASSERT_EQ(skb.ingress_ifindex, 11, "ctx_out_ingress_ifindex");
|
H A D | type_cast.c | 36 ASSERT_EQ(skel->bss->ifindex, skel->bss->ingress_ifindex, "xdp_md ingress_ifindex");
|
H A D | xdp_do_redirect.c | 206 ctx_in.ingress_ifindex = ifindex_src;
|
/linux-master/tools/testing/selftests/bpf/verifier/ |
H A D | ctx_sk_lookup.c | 232 /* 1-byte read from ingress_ifindex field */ 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), 241 /* 2-byte read from ingress_ifindex field */ 243 offsetof(struct bpf_sk_lookup, ingress_ifindex)), 245 offsetof(struct bpf_sk_lookup, ingress_ifindex) + 2), 246 /* 4-byte read from ingress_ifindex field */ 248 offsetof(struct bpf_sk_lookup, ingress_ifindex)), [all...] |
H A D | precise.c | 207 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, offsetof(struct xdp_md, ingress_ifindex)),
|
/linux-master/samples/bpf/ |
H A D | xdp_fwd_kern.c | 102 fib_params.ifindex = ctx->ingress_ifindex;
|
H A D | test_lwt_bpf.c | 41 printk("cb %d ingress_ifindex %d ifindex %d", skb->cb[0], 42 skb->ingress_ifindex, skb->ifindex);
|
/linux-master/net/bpf/ |
H A D | test_run.c | 875 /* ingress_ifindex is allowed */ 910 skb->skb_iif = __skb->ingress_ifindex; 941 __skb->ingress_ifindex = skb->skb_iif; 1094 unsigned int ingress_ifindex, rx_queue_index; local 1104 ingress_ifindex = xdp_md->ingress_ifindex; 1107 if (!ingress_ifindex && rx_queue_index) 1110 if (ingress_ifindex) { 1112 ingress_ifindex); 1146 if (xdp_md->ingress_ifindex) [all...] |
/linux-master/include/net/ |
H A D | flow_dissector.h | 244 * @ingress_ifindex: ingress ifindex 249 int ingress_ifindex; member in struct:flow_dissector_key_meta
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_flower.c | 157 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { 164 match.key->ingress_ifindex);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_flower.c | 303 if (!match->mask->ingress_ifindex) 306 if (match->mask->ingress_ifindex != 0xFFFFFFFF) { 312 match->key->ingress_ifindex);
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 534 if (!match.mask->ingress_ifindex) 537 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { 546 indev = __dev_get_by_index(dev_net(dev), match.key->ingress_ifindex);
|
/linux-master/net/netfilter/ |
H A D | nf_flow_table_offload.c | 113 key->meta.ingress_ifindex = tuple->tc.iifidx; 115 key->meta.ingress_ifindex = tuple->iifidx; 117 mask->meta.ingress_ifindex = 0xffffffff;
|
/linux-master/include/linux/ |
H A D | filter.h | 1415 u32 ingress_ifindex; member in struct:bpf_sk_lookup_kern 1494 .ingress_ifindex = ifindex, 1533 .ingress_ifindex = ifindex,
|