Searched refs:devmap_val (Results 1 – 3 of 3) sorted by relevance
88 struct bpf_devmap_val devmap_val; in main() local203 devmap_val.ifindex = ifindex; in main()204 devmap_val.bpf_prog.fd = egress_prog_fd; in main()205 ret = bpf_map_update_elem(group_all, &ifindex, &devmap_val, 0); in main()
47 struct bpf_devmap_val devmap_val = {}; in main() local188 devmap_val.ifindex = ifindex_out; in main()190 devmap_val.bpf_prog.fd = bpf_program__fd(skel->progs.xdp_redirect_map_egress); in main()191 ret = bpf_map_update_elem(bpf_map__fd(tx_port_map), &key, &devmap_val, 0); in main()
79 struct bpf_devmap_val devmap_val = {}; in main() local209 devmap_val.ifindex = ifindex; in main()211 devmap_val.bpf_prog.fd = bpf_program__fd(skel->progs.xdp_devmap_prog); in main()212 ret = bpf_map_update_elem(bpf_map__fd(forward_map), &ifindex, &devmap_val, 0); in main()