Home
last modified time | relevance | path

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

12

/linux/samples/bpf/
A 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()
A Dxdp_fwd_kern.c102 fib_params.ifindex = ctx->ingress_ifindex; in xdp_fwd_flags()
A Dtest_lwt_bpf.c50 skb->ingress_ifindex, skb->ifindex); in do_test_ctx()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dskb_ctx.c14 .ingress_ifindex = 11, in test_skb_ctx()
102 CHECK_ATTR(skb.ingress_ifindex != 11, in test_skb_ctx()
105 skb.ingress_ifindex, 11); in test_skb_ctx()
A Dxdp_context_test_run.c8 __u32 ingress_ifindex, __u32 rx_queue_index, in test_xdp_context_error() argument
15 .ingress_ifindex = ingress_ifindex, in test_xdp_context_error()
/linux/net/bpf/
A Dtest_run.c519 skb->skb_iif = __skb->ingress_ifindex; in convert___skb_to_skb()
550 __skb->ingress_ifindex = skb->skb_iif; in convert_skb_to___skb()
701 unsigned int ingress_ifindex, rx_queue_index; in xdp_convert_md_to_buff() local
711 ingress_ifindex = xdp_md->ingress_ifindex; in xdp_convert_md_to_buff()
714 if (!ingress_ifindex && rx_queue_index) in xdp_convert_md_to_buff()
717 if (ingress_ifindex) { in xdp_convert_md_to_buff()
719 ingress_ifindex); in xdp_convert_md_to_buff()
753 if (xdp_md->ingress_ifindex) in xdp_convert_buff_to_md()
/linux/tools/testing/selftests/bpf/verifier/
A Dxdp.c6 offsetof(struct xdp_md, ingress_ifindex)),
A Dcgroup_skb.c46 offsetof(struct __sk_buff, ingress_ifindex)),
/linux/tools/testing/selftests/bpf/progs/
A Dtest_xdp_devmap_helpers.c17 ctx->ingress_ifindex, ctx->egress_ifindex, len); in xdpdm_devlog()
A Dtest_xdp_with_cpumap_helpers.c30 if (ctx->ingress_ifindex == IFINDEX_LO) in xdp_dummy_cm()
A Dtest_skb_ctx.c27 if (skb->ingress_ifindex != 11) in process()
A Dtest_xdp_with_devmap_helpers.c39 ctx->ingress_ifindex, ctx->egress_ifindex, len); in xdp_dummy_dm()
A Dxdp_redirect_multi_kern.c42 int if_index = ctx->ingress_ifindex; in xdp_redirect_map_multi_prog()
A Dtest_tc_neigh_fib.c93 struct bpf_fib_lookup fib_params = { .ifindex = skb->ingress_ifindex }; in tc_redir()
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_flower.c58 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in prestera_flower_parse_meta()
65 match.key->ingress_ifindex); in prestera_flower_parse_meta()
/linux/drivers/net/ethernet/mscc/
A Docelot_flower.c441 if (!match.mask->ingress_ifindex) in ocelot_flower_parse_indev()
444 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in ocelot_flower_parse_indev()
453 indev = __dev_get_by_index(dev_net(dev), match.key->ingress_ifindex); in ocelot_flower_parse_indev()
/linux/include/net/
A Dflow_dissector.h228 int ingress_ifindex; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_flower.c252 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in mlxsw_sp_flower_parse_meta()
258 match.key->ingress_ifindex); in mlxsw_sp_flower_parse_meta()
/linux/tools/include/uapi/linux/
A Dbpf.h5325 __u32 ingress_ifindex; member
5513 __u32 ingress_ifindex; /* rxq->dev->ifindex */ member
/linux/include/uapi/linux/
A Dbpf.h5325 __u32 ingress_ifindex; member
5513 __u32 ingress_ifindex; /* rxq->dev->ifindex */ member
/linux/net/netfilter/
A Dnf_flow_table_offload.c113 key->meta.ingress_ifindex = tuple->iifidx; in nf_flow_rule_match()
114 mask->meta.ingress_ifindex = 0xffffffff; in nf_flow_rule_match()
A Dnft_meta.c740 ingress_ifindex, sizeof(__u32), reg); in nft_meta_get_offload()
/linux/net/sched/
A Dcls_flower.c1506 key->meta.ingress_ifindex = err; in fl_set_key()
1507 mask->meta.ingress_ifindex = 0xffffffff; in fl_set_key()
2851 if (mask->meta.ingress_ifindex) { in fl_dump_key()
2854 dev = __dev_get_by_index(net, key->meta.ingress_ifindex); in fl_dump_key()
/linux/net/core/
A Dflow_dissector.c217 meta->ingress_ifindex = skb->skb_iif; in skb_flow_dissect_meta()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c2085 if (!match.mask->ingress_ifindex) in mlx5e_flower_parse_meta()
2088 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in mlx5e_flower_parse_meta()
2094 match.key->ingress_ifindex); in mlx5e_flower_parse_meta()

Completed in 70 milliseconds

12