Home
last modified time | relevance | path

Searched refs:mac_map (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xdp_veth.c465 int mac_map, egress_map, res_map; in xdp_veth_egress() local
486 mac_map = bpf_map__fd(xdp_redirect_multi_kern->maps.mac_map); in xdp_veth_egress()
487 if (!ASSERT_OK_FD(mac_map, "open mac_map")) in xdp_veth_egress()
515 err = bpf_map_update_elem(mac_map, &ifindex, magic_mac, 0); in xdp_veth_egress()
/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_redirect_multi_kern.c35 } mac_map SEC(".maps");
104 mac = bpf_map_lookup_elem(&mac_map, &key); in xdp_devmap_prog()