/linux/samples/bpf/ |
A 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()
|
A D | xdp_fwd_kern.c | 102 fib_params.ifindex = ctx->ingress_ifindex; in xdp_fwd_flags()
|
A D | test_lwt_bpf.c | 50 skb->ingress_ifindex, skb->ifindex); in do_test_ctx()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | skb_ctx.c | 14 .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 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()
|
/linux/net/bpf/ |
A D | test_run.c | 519 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 D | xdp.c | 6 offsetof(struct xdp_md, ingress_ifindex)),
|
A D | cgroup_skb.c | 46 offsetof(struct __sk_buff, ingress_ifindex)),
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_xdp_devmap_helpers.c | 17 ctx->ingress_ifindex, ctx->egress_ifindex, len); in xdpdm_devlog()
|
A D | test_xdp_with_cpumap_helpers.c | 30 if (ctx->ingress_ifindex == IFINDEX_LO) in xdp_dummy_cm()
|
A D | test_skb_ctx.c | 27 if (skb->ingress_ifindex != 11) in process()
|
A D | test_xdp_with_devmap_helpers.c | 39 ctx->ingress_ifindex, ctx->egress_ifindex, len); in xdp_dummy_dm()
|
A D | xdp_redirect_multi_kern.c | 42 int if_index = ctx->ingress_ifindex; in xdp_redirect_map_multi_prog()
|
A D | test_tc_neigh_fib.c | 93 struct bpf_fib_lookup fib_params = { .ifindex = skb->ingress_ifindex }; in tc_redir()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_flower.c | 58 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 D | ocelot_flower.c | 441 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 D | flow_dissector.h | 228 int ingress_ifindex; member
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_flower.c | 252 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 D | bpf.h | 5325 __u32 ingress_ifindex; member 5513 __u32 ingress_ifindex; /* rxq->dev->ifindex */ member
|
/linux/include/uapi/linux/ |
A D | bpf.h | 5325 __u32 ingress_ifindex; member 5513 __u32 ingress_ifindex; /* rxq->dev->ifindex */ member
|
/linux/net/netfilter/ |
A D | nf_flow_table_offload.c | 113 key->meta.ingress_ifindex = tuple->iifidx; in nf_flow_rule_match() 114 mask->meta.ingress_ifindex = 0xffffffff; in nf_flow_rule_match()
|
A D | nft_meta.c | 740 ingress_ifindex, sizeof(__u32), reg); in nft_meta_get_offload()
|
/linux/net/sched/ |
A D | cls_flower.c | 1506 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 D | flow_dissector.c | 217 meta->ingress_ifindex = skb->skb_iif; in skb_flow_dissect_meta()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_tc.c | 2085 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()
|