Home
last modified time | relevance | path

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

/glibc-2.36/sysdeps/mach/hurd/
Dif_index.c32 __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/
Dif_index.c34 __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/
Dif_index.c23 __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/
Dsocket.texi488 @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/
DChangeLog.1919667 ifname is too long.
28669 Check if ifname is too long.