Searched refs:ifname (Results 1 – 5 of 5) sorted by relevance
/glibc-2.36/sysdeps/mach/hurd/ |
D | if_index.c | 32 __if_nametoindex (const char *ifname) in __if_nametoindex() argument 40 if (strlen (ifname) >= IFNAMSIZ) in __if_nametoindex() 46 strncpy (ifr.ifr_name, ifname, IFNAMSIZ); in __if_nametoindex() 169 __if_indextoname (unsigned int ifindex, char ifname[IF_NAMESIZE]) in weak_alias() 189 return strncpy (ifname, ifr.ifr_name, IFNAMSIZ); in weak_alias()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | if_index.c | 34 __if_nametoindex (const char *ifname) in __if_nametoindex() argument 41 if (strlen (ifname) >= IFNAMSIZ) in __if_nametoindex() 47 strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in __if_nametoindex() 218 __if_indextoname (unsigned int ifindex, char ifname[IF_NAMESIZE]) in weak_alias() 245 return strncpy (ifname, ifr.ifr_name, IFNAMSIZ); in weak_alias()
|
/glibc-2.36/inet/ |
D | if_index.c | 23 __if_nametoindex (const char *ifname) in __if_nametoindex() argument 34 __if_indextoname (unsigned int ifindex, char ifname[IF_NAMESIZE]) in weak_alias()
|
/glibc-2.36/manual/ |
D | socket.texi | 488 @deftypefun {unsigned int} if_nametoindex (const char *@var{ifname}) 502 @deftypefun {char *} if_indextoname (unsigned int @var{ifindex}, char *@var{ifname}) 508 returned name is placed in the buffer pointed to by @code{ifname}, which 511 @code{ifname}.
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.19 | 19667 ifname is too long. 28669 Check if ifname is too long.
|