Searched refs:ifname (Results 1 – 4 of 4) sorted by relevance
40 unsigned int if_nametoindex(const char *ifname) in if_nametoindex() argument47 strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in if_nametoindex()
42 if_indextoname(unsigned ifindex, char *ifname) in if_indextoname() argument53 ret = strncpy (ifname, ifr.ifr_name, IFNAMSIZ); in if_indextoname()
42 extern char* if_indextoname(unsigned ifindex, char *ifname);
50 char ifname[IFNAMSIZ]; member61 char ifname[IFNAMSIZ]; member