Searched refs:IF_NAMESIZE (Results 1 - 17 of 17) sorted by relevance

/freebsd-10.3-release/sys/netpfil/ipfw/
H A Dip_fw_table.c83 char ifname[IF_NAMESIZE]; /* Interface name */
207 c = ((char *)paddr)[IF_NAMESIZE - 1];
208 ((char *)paddr)[IF_NAMESIZE - 1] = '\0';
209 if (((mlen = strlen((char *)paddr)) == IF_NAMESIZE - 1) && (c != '\0'))
226 memset(xent->m.ifmask.ifname, 0xFF, IF_NAMESIZE);
342 c = ((char *)paddr)[IF_NAMESIZE - 1];
343 ((char *)paddr)[IF_NAMESIZE - 1] = '\0';
344 if (((mlen = strlen((char *)paddr)) == IF_NAMESIZE - 1) && (c != '\0'))
359 memset(ifmask.ifname, 0xFF, IF_NAMESIZE);
578 strlcpy(iface.ifname, (char *)paddr, IF_NAMESIZE)
[all...]
H A Dip_fw_nat.c72 if (strncmp(ptr->if_name, ifp->if_xname, IF_NAMESIZE) != 0)
446 memcpy(ptr->if_name, cfg->if_name, IF_NAMESIZE);
/freebsd-10.3-release/usr.bin/systat/
H A Difstat.c67 char if_name[IF_NAMESIZE];
357 pad_len = IF_NAMESIZE-(str_len);
361 (void)memset((void *)newstr, (int)' ', IF_NAMESIZE);
/freebsd-10.3-release/usr.sbin/wake/
H A Dwake.c187 char ifname[IF_NAMESIZE];
/freebsd-10.3-release/sys/net/
H A Dif.h60 #define IF_NAMESIZE 16 macro
62 #define IFNAMSIZ IF_NAMESIZE
/freebsd-10.3-release/sys/netinet/
H A Dip_fw.h427 char if_name[IF_NAMESIZE]; /* interface name */
622 char iface[IF_NAMESIZE]; /* interface name */
/freebsd-10.3-release/contrib/libpcap/
H A Dinet.c676 #ifndef IF_NAMESIZE
677 #define IF_NAMESIZE IFNAMSIZ macro
679 static char device[IF_NAMESIZE + 1];
/freebsd-10.3-release/contrib/ntp/lib/isc/unix/
H A Dinterfaceiter.c191 char name[IF_NAMESIZE+1];
H A Difiter_ioctl.c103 #ifndef IF_NAMESIZE
105 # define IF_NAMESIZE IFNAMSIZ macro
107 # define IF_NAMESIZE 16 macro
/freebsd-10.3-release/lib/libc/net/
H A Dgetnameinfo.c357 IN6_IS_ADDR_MC_NODELOCAL(a6)) && bufsiz >= IF_NAMESIZE) {
/freebsd-10.3-release/usr.sbin/arp/
H A Darp.c516 char ifname[IF_NAMESIZE];
/freebsd-10.3-release/usr.sbin/mtest/
H A Dmtest.c781 strlcpy(ifr.ifr_name, str1, IF_NAMESIZE);
/freebsd-10.3-release/sys/contrib/ipfilter/netinet/
H A Dip_compat.h48 # ifdef IF_NAMESIZE
49 # define LIFNAMSIZ IF_NAMESIZE
/freebsd-10.3-release/sbin/ipfw/
H A Dnat.c162 strncpy(n->if_name, ifn, IF_NAMESIZE);
H A Dipfw2.c4326 mask = MIN(strlen(arg), IF_NAMESIZE - 1);
4329 masklen = 8 * IF_NAMESIZE;
4331 addrlen = IF_NAMESIZE;
/freebsd-10.3-release/usr.sbin/rarpd/
H A Drarpd.c86 char ii_ifname[IF_NAMESIZE];
/freebsd-10.3-release/sbin/pfctl/
H A Dparse.y4984 char ifname[IF_NAMESIZE];

Completed in 128 milliseconds