Home
last modified time | relevance | path

Searched refs:ifname (Results 1 – 3 of 3) sorted by relevance

/samples/bpf/
Dxdp_rxq_info_user.c31 static char *ifname; variable
72 ifindex, ifname); in int_exit()
348 ifname, ifindex, action2str(action), options2str(cfg_opt)); in stats_print()
502 ifname = (char *)&ifname_buf; in main()
503 strncpy(ifname, optarg, IF_NAMESIZE); in main()
504 ifindex = if_nametoindex(ifname); in main()
Dxdp_redirect_map_multi_user.c87 char ifname[IF_NAMESIZE]; in main() local
152 if (!if_indextoname(ifaces[i], ifname)) { in main()
Dxdp_sample_user.c1606 char ifname[IF_NAMESIZE]; in get_driver_name() local
1615 if (!if_indextoname(ifindex, ifname)) in get_driver_name()
1619 safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in get_driver_name()
1639 char ifname[IF_NAMESIZE]; in get_mac_addr() local
1647 if (!if_indextoname(ifindex, ifname)) { in get_mac_addr()
1652 safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in get_mac_addr()