Home
last modified time | relevance | path

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

/bionic/libc/kernel/uapi/linux/
Datmbr2684.h50 char ifname[IFNAMSIZ]; member
61 char ifname[IFNAMSIZ]; member
/bionic/libc/bionic/
Dnet_if.cpp47 char* if_indextoname(unsigned ifindex, char* ifname) { in if_indextoname() argument
58 return (rc == -1) ? nullptr : strncpy(ifname, ifr.ifr_name, IFNAMSIZ); in if_indextoname()
61 unsigned if_nametoindex(const char* ifname) { in if_nametoindex() argument
67 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in if_nametoindex()