Searched refs:IF_NAMESIZE (Results 1 - 17 of 17) sorted by relevance
/freebsd-10.3-release/sys/netpfil/ipfw/ |
H A D | ip_fw_table.c | 83 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 D | ip_fw_nat.c | 72 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 D | ifstat.c | 67 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 D | wake.c | 187 char ifname[IF_NAMESIZE];
|
/freebsd-10.3-release/sys/net/ |
H A D | if.h | 60 #define IF_NAMESIZE 16 macro 62 #define IFNAMSIZ IF_NAMESIZE
|
/freebsd-10.3-release/sys/netinet/ |
H A D | ip_fw.h | 427 char if_name[IF_NAMESIZE]; /* interface name */ 622 char iface[IF_NAMESIZE]; /* interface name */
|
/freebsd-10.3-release/contrib/libpcap/ |
H A D | inet.c | 676 #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 D | interfaceiter.c | 191 char name[IF_NAMESIZE+1];
|
H A D | ifiter_ioctl.c | 103 #ifndef IF_NAMESIZE 105 # define IF_NAMESIZE IFNAMSIZ macro 107 # define IF_NAMESIZE 16 macro
|
/freebsd-10.3-release/lib/libc/net/ |
H A D | getnameinfo.c | 357 IN6_IS_ADDR_MC_NODELOCAL(a6)) && bufsiz >= IF_NAMESIZE) {
|
/freebsd-10.3-release/usr.sbin/arp/ |
H A D | arp.c | 516 char ifname[IF_NAMESIZE];
|
/freebsd-10.3-release/usr.sbin/mtest/ |
H A D | mtest.c | 781 strlcpy(ifr.ifr_name, str1, IF_NAMESIZE);
|
/freebsd-10.3-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_compat.h | 48 # ifdef IF_NAMESIZE 49 # define LIFNAMSIZ IF_NAMESIZE
|
/freebsd-10.3-release/sbin/ipfw/ |
H A D | nat.c | 162 strncpy(n->if_name, ifn, IF_NAMESIZE);
|
H A D | ipfw2.c | 4326 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 D | rarpd.c | 86 char ii_ifname[IF_NAMESIZE];
|
/freebsd-10.3-release/sbin/pfctl/ |
H A D | parse.y | 4984 char ifname[IF_NAMESIZE];
|
Completed in 128 milliseconds