Home
last modified time | relevance | path

Searched refs:IFNAMSIZ (Results 1 – 9 of 9) sorted by relevance

/glibc-2.36/sysdeps/gnu/net/
Dif.h129 # define IFNAMSIZ IF_NAMESIZE macro
132 char ifrn_name[IFNAMSIZ]; /* Interface name, e.g. "en0". */
146 char ifru_slave[IFNAMSIZ]; /* Just fits the size */
147 char ifru_newname[IFNAMSIZ];
167 # define _IOT_ifreq _IOT(_IOTS(char),IFNAMSIZ,_IOTS(char),16,0,0)
168 # define _IOT_ifreq_short _IOT(_IOTS(char),IFNAMSIZ,_IOTS(short),1,0,0)
169 # define _IOT_ifreq_int _IOT(_IOTS(char),IFNAMSIZ,_IOTS(int),1,0,0)
/glibc-2.36/inet/
Dtst-if_index-long.c37 char name[IFNAMSIZ + 1]; in do_test()
38 memset (name, 'A', IFNAMSIZ); in do_test()
39 name[IFNAMSIZ] = '\0'; in do_test()
40 TEST_COMPARE (strlen (name), IFNAMSIZ); in do_test()
Dtest_ifindex.c45 char buf[IFNAMSIZ]; in do_test()
Dgetnameinfo.c354 char scopebuf[IFNAMSIZ]; in gni_host_inet_numeric()
/glibc-2.36/sysdeps/mach/hurd/
Dif_index.c40 if (strlen (ifname) >= IFNAMSIZ) in __if_nametoindex()
46 strncpy (ifr.ifr_name, ifname, IFNAMSIZ); in __if_nametoindex()
189 return strncpy (ifname, ifr.ifr_name, IFNAMSIZ); in weak_alias()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dif_index.c41 if (strlen (ifname) >= IFNAMSIZ) in __if_nametoindex()
245 return strncpy (ifname, ifr.ifr_name, IFNAMSIZ); in weak_alias()
/glibc-2.36/manual/
Dsocket.texi482 @deftypevr Constant size_t IFNAMSIZ
509 must be at least @code{IFNAMSIZ} bytes in length. If the index was
/glibc-2.36/ChangeLog.old/
DChangeLog.1112571 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
DChangeLog.78663 IFNAMSIZ.