Home
last modified time | relevance | path

Searched refs:ingress_ifindex (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/samples/bpf/
Dxdp_rxq_info_kern.c80 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()
Dxdp_fwd_kern.c102 fib_params.ifindex = ctx->ingress_ifindex; in xdp_fwd_flags()
Dtest_lwt_bpf.c50 skb->ingress_ifindex, skb->ifindex); in do_test_ctx()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/
Dxdp.c6 offsetof(struct xdp_md, ingress_ifindex)),
Dcgroup_skb.c46 offsetof(struct __sk_buff, ingress_ifindex)),
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_xdp_devmap_helpers.c17 ctx->ingress_ifindex, ctx->egress_ifindex, len); in xdpdm_devlog()
Dtest_xdp_with_cpumap_helpers.c30 if (ctx->ingress_ifindex == IFINDEX_LO) in xdp_dummy_cm()
Dtest_xdp_with_devmap_helpers.c39 ctx->ingress_ifindex, ctx->egress_ifindex, len); in xdp_dummy_dm()
Dtest_tc_neigh_fib.c92 struct bpf_fib_lookup fib_params = { .ifindex = skb->ingress_ifindex }; in tc_redir()
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_flower.c397 if (!match.mask->ingress_ifindex) in ocelot_flower_parse_indev()
400 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in ocelot_flower_parse_indev()
409 indev = __dev_get_by_index(dev_net(dev), match.key->ingress_ifindex); in ocelot_flower_parse_indev()
/kernel/linux/linux-5.10/include/net/
Dflow_dissector.h230 int ingress_ifindex; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbpf.h423 __u32 ingress_ifindex; member
496 __u32 ingress_ifindex; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c229 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in mlxsw_sp_flower_parse_meta()
235 match.key->ingress_ifindex); in mlxsw_sp_flower_parse_meta()
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h4093 __u32 ingress_ifindex; member
4280 __u32 ingress_ifindex; /* rxq->dev->ifindex */ member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h4093 __u32 ingress_ifindex; member
4280 __u32 ingress_ifindex; /* rxq->dev->ifindex */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h572 __u32 ingress_ifindex; member
698 __u32 ingress_ifindex; member
/kernel/linux/linux-5.10/net/netfilter/
Dnf_flow_table_offload.c100 key->meta.ingress_ifindex = tuple->iifidx; in nf_flow_rule_match()
101 mask->meta.ingress_ifindex = 0xffffffff; in nf_flow_rule_match()
Dnft_meta.c727 ingress_ifindex, sizeof(__u32), reg); in nft_meta_get_offload()
/kernel/linux/linux-5.10/net/sched/
Dcls_flower.c1503 key->meta.ingress_ifindex = err; in fl_set_key()
1504 mask->meta.ingress_ifindex = 0xffffffff; in fl_set_key()
2850 if (mask->meta.ingress_ifindex) { in fl_dump_key()
2853 dev = __dev_get_by_index(net, key->meta.ingress_ifindex); in fl_dump_key()
/kernel/linux/linux-5.10/net/core/
Dflow_dissector.c216 meta->ingress_ifindex = skb->skb_iif; in skb_flow_dissect_meta()
Dfilter.c8375 case offsetof(struct __sk_buff, ingress_ifindex): in bpf_convert_ctx_access()
8917 case offsetof(struct xdp_md, ingress_ifindex): in xdp_convert_ctx_access()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2234 if (!match.mask->ingress_ifindex) in mlx5e_flower_parse_meta()
2237 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in mlx5e_flower_parse_meta()
2243 match.key->ingress_ifindex); in mlx5e_flower_parse_meta()