/freebsd-9.3-release/contrib/libpcap/ |
H A D | fad-gifc.c | 118 * We assume that's "sizeof(ifreq.ifr_name)" plus 255, under the assumption 169 * we have more than "sizeof(ifrp->ifr_name) + MAX_SA_LEN" 196 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) 216 n = SA_LEN(&ifrp->ifr_addr) + sizeof(ifrp->ifr_name); 233 if (!(*ifrp->ifr_name)) 241 if (strncmp(ifrp->ifr_name, "dummy", 5) == 0) 248 strncpy(ifrflags.ifr_name, ifrp->ifr_name, 249 sizeof(ifrflags.ifr_name)); 255 (int)sizeof(ifrflags.ifr_name), [all...] |
/freebsd-9.3-release/contrib/traceroute/ |
H A D | ifaddrlist.c | 83 char device[sizeof(ifr.ifr_name) + 1]; 113 n = ifrp->ifr_addr.sa_len + sizeof(ifrp->ifr_name); 129 strncpy(ifr.ifr_name, ifrp->ifr_name, sizeof(ifr.ifr_name)); 134 (int)sizeof(ifr.ifr_name), ifr.ifr_name, 145 (void)strncpy(device, ifr.ifr_name, sizeof(ifr.ifr_name));
|
/freebsd-9.3-release/sbin/ifconfig/ |
H A D | iffib.c | 52 strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); 77 strncpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
|
H A D | ifmac.c | 60 strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); 93 strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
|
H A D | ifclone.c | 126 (void) strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); 131 if (strncmp(dcp->ifprefix, ifr.ifr_name, 149 if (strncmp(name, ifr.ifr_name, sizeof(name)) != 0) { 150 strlcpy(name, ifr.ifr_name, sizeof(name)); 164 (void) strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
|
H A D | ifgre.c | 73 strncpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
|
H A D | af_nd6.c | 77 strncpy(nd.ifname, ifr.ifr_name, sizeof(nd.ifname)); 102 strncpy(ndifreq.ifname, ifr.ifr_name, sizeof(ndifreq.ifname)); 129 strncpy(ndifreq.ifname, ifr.ifr_name, sizeof(ndifreq.ifname)); 149 strncpy(nd.ifname, ifr.ifr_name, sizeof(nd.ifname));
|
/freebsd-9.3-release/contrib/ntp/include/ |
H A D | ntif.h | 54 * definitions which begin with ifr_name. The 68 char ifr_name[IFNAMSIZ]; /* if name, e.g. "en0" */ member in struct:ifreq
|
/freebsd-9.3-release/tools/regression/netinet/msocket_ifnet_remove/ |
H A D | msocket_ifnet_remove.c | 93 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s%d", DISC_IFNAME, 97 warn("disc_setup: ioctl(%s, SIOCIFCREATE)", ifr.ifr_name); 119 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s%d", DISC_IFNAME, 123 warn("disc_done: ioctl(%s, SIOCIFDESTROY)", ifr.ifr_name);
|
/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | sirix.c | 76 strncpy(ifr.ifr_name, sr.sr_ifname, sizeof ifr.ifr_name);
|
H A D | slinux.c | 75 strncpy(ifr.ifr_name, eth_dev, sizeof(ifr.ifr_name));
|
H A D | sockraw.c | 44 strncpy(ifr.ifr_name, device, sizeof ifr.ifr_name);
|
H A D | snit.c | 100 strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); 101 ifr.ifr_name[sizeof(ifr.ifr_name) - 1] = ' '; 107 perror(ifr.ifr_name);
|
H A D | sbpf.c | 105 (void) strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); 108 fprintf(stderr, "%s(%d):", ifr.ifr_name, fd);
|
/freebsd-9.3-release/lib/libc/net/ |
H A D | if_nametoindex.c | 73 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
|
/freebsd-9.3-release/sys/compat/svr4/ |
H A D | svr4_sockio.c | 127 (void) strlcpy(br.ifr_name, sr.svr4_ifr_name, 128 sizeof(br.ifr_name)); 133 br.ifr_name, sr.svr4_ifr_name, error));
|
/freebsd-9.3-release/usr.sbin/wpa/wpa_supplicant/ |
H A D | Packet32.c | 137 strncpy(ireq.i_name, iface, sizeof (ifr.ifr_name)); 148 strncpy(ifr.ifr_name, iface, sizeof (ifr.ifr_name)); 220 strlcpy(ifr.ifr_name, a->name, sizeof(ifr.ifr_name)); 350 strncpy(ireq.i_name, a->name, sizeof (ifr.ifr_name)); 356 strncpy(ifr.ifr_name, a->name, sizeof (ifr.ifr_name));
|
/freebsd-9.3-release/libexec/rbootd/ |
H A D | bpf.c | 114 (void) strncpy(ifr.ifr_name, IntfName, sizeof(ifr.ifr_name)); 227 static char device[sizeof(ifrp->ifr_name)]; 272 (strcmp(ifrp->ifr_name, "lo0") == 0)) 276 for (cp = ifrp->ifr_name; !isdigit(*cp); ++cp) 291 (void) strcpy(device, mp->ifr_name);
|
/freebsd-9.3-release/contrib/ipfilter/ipsd/ |
H A D | snit.c | 204 strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); 205 ifr.ifr_name[sizeof(ifr.ifr_name) - 1] = ' '; 211 perror(ifr.ifr_name);
|
H A D | sbpf.c | 170 (void) strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); 173 fprintf(stderr, "%s(%d):", ifr.ifr_name, fd);
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | port-tun.c | 87 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), name, tun); 99 debug("%s: %s mode %d fd %d", __func__, ifr.ifr_name, mode, fd); 170 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s%d", tunbase, tun);
|
/freebsd-9.3-release/libexec/bootpd/ |
H A D | getether.c | 49 strcpy(phys.ifr_name, ifname); 86 strlcpy(&ifrnit.ifr_name[0], ifname, IFNAMSIZ); 152 if (strcmp(ifname, ifrp->ifr_name) == 0 && 160 n = ifrp->ifr_addr.sa_len + sizeof(ifrp->ifr_name); 353 strcpy(phys.ifr_name, ifname);
|
/freebsd-9.3-release/usr.sbin/bluetooth/btpand/ |
H A D | tap.c | 82 log_err("Could not set %s physical address: %m", ifr.ifr_name); 102 log_info("Using interface %s with addr %s", ifr.ifr_name, 119 _PATH_VARRUN, ifr.ifr_name);
|
/freebsd-9.3-release/usr.sbin/wake/ |
H A D | wake.c | 90 if (strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)) >= 91 sizeof(ifr.ifr_name))
|
/freebsd-9.3-release/usr.sbin/rtsold/ |
H A D | if.c | 87 strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); 185 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 405 strncpy(ifr6.ifr_name, name, sizeof(ifr6.ifr_name));
|