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

/linux-master/tools/testing/selftests/bpf/
H A Dxdp_redirect_multi.c85 int prog_fd, group_all, mac_map; local
159 mac_map = bpf_object__find_map_fd_by_name(obj, "mac_map");
161 if (group_all < 0 || mac_map < 0) {
195 ret = bpf_map_update_elem(mac_map, &ifindex, mac_addr, 0);
197 perror("bpf_update_elem mac_map failed\n");
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_redirect_multi_kern.c35 } mac_map SEC(".maps");
87 mac = bpf_map_lookup_elem(&mac_map, &key);

Completed in 142 milliseconds