/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppstats/ |
H A D | pppstats.c | 163 #undef ifr_name 164 #define ifr_name ifr__name macro 167 strncpy(req.ifr_name, interface, sizeof(req.ifr_name)); 189 #undef ifr_name 190 #define ifr_name ifr__name macro 193 strncpy(creq.ifr_name, interface, sizeof(creq.ifr_name)); 560 #undef ifr_name 561 #define ifr_name ifr_ifrn.ifrn_name macro 563 strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | hostconfig.c | 259 ifr->ifr_name); 264 ifr->ifr_name); 265 (*protofunc)(ifr->ifr_name, targetaddr); 469 if (strlcpy(ifr.ifr_name, dev, sizeof (ifr.ifr_name)) >= 470 sizeof (ifr.ifr_name)) {
|
H A D | in.rwhod.c | 555 if (index(ifr->ifr_name, ':') != NULL) in configure() 560 strcmp(ifr->ifr_name, np->n_name) == 0) in configure() 569 np->n_name = malloc(strlen(ifr->ifr_name) + 1); in configure() 574 (void) strcpy(np->n_name, ifr->ifr_name); in configure()
|
H A D | in.rarpd.c | 349 if (!ifparse_ifspec(ifr->ifr_name, &ifsp)) in getintf() 874 (void) snprintf(ifr.ifr_name, sizeof (ifr.ifr_name), "%s%d", dev, unit); in get_ifdata()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 319 (void) strlcpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in read_ip_interface() 323 warn("Couldn't get IP MTU on %s: %m", ifr.ifr_name); in read_ip_interface() 337 ifr.ifr_name); in read_ip_interface() 350 ifr.ifr_name); in read_ip_interface() 622 (void) strlcpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in plumb_ipif() 787 if (strchr(pifreq->ifr_name, ':') != NULL) { 791 (void) strncpy(ifr.ifr_name, pifreq->ifr_name, 792 sizeof (ifr.ifr_name)); 801 if (get_if_hwaddr(addr, msize, ifr.ifr_name) <= 0) { 873 (void) strncpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in giflags() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSUNP.c | 574 if (sizeof(struct ifreq) > sizeof(ifr->ifr_name) + GET_SA_LEN(ifr->ifr_addr)) in get_ifi_info() 577 ptr += sizeof(ifr->ifr_name) + GET_SA_LEN(ifr->ifr_addr); in get_ifi_info() 585 if ( (cptr = strchr(ifr->ifr_name, ':')) != NULL) in get_ifi_info() 587 if (strncmp(lastname, ifr->ifr_name, IFNAMSIZ) == 0) { in get_ifi_info() 592 memcpy(lastname, ifr->ifr_name, IFNAMSIZ); in get_ifi_info() 613 ifi->ifi_index = if_nametoindex(ifr->ifr_name); in get_ifi_info() 623 memcpy(ifi->ifi_name, ifr->ifr_name, IFI_NAME); in get_ifi_info() 711 memcpy(&ifr6.ifr_name, &ifr->ifr_name, sizeof(ifr6.ifr_name )); in get_ifi_info()
|
/titanic_41/usr/src/lib/libresolv/ |
H A D | res_init.c | 144 strncpy(ifr.ifr_name, ifrp->ifr_name, in res_init() 145 sizeof (ifr.ifr_name)); in res_init()
|
/titanic_41/usr/src/lib/libslp/clib/ |
H A D | slp_net_utils.c | 272 (void) strncpy(ifr.ifr_name, ifrp->ifr_name, sizeof (ifr.ifr_name)); in get_all_interfaces()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | localaddr.c | 145 sizeof((i).ifr_name)+(i).ifr_addr.sa_len) 963 strncpy(ifreq.ifr_name, ifr->ifr_name, sizeof (ifreq.ifr_name)); in foreach_localaddr() 964 Tprintf (("interface %s\n", ifreq.ifr_name)); in foreach_localaddr() 969 ifr->ifr_name[0] = '\0'; in foreach_localaddr() 990 if (ifr2->ifr_name[0] == '\0') in foreach_localaddr() 1027 if (ifr->ifr_name[0] == '\0') in foreach_localaddr()
|
H A D | foreachaddr.c | 130 sizeof((i).ifr_name)+(i).ifr_addr.sa_len)
|
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdsv3_impl.c | 297 (void) strlcpy(ifname, ifrp->ifr_name, IFNAMSIZ); in rdsv3_capable_interface_old() 397 "1. ifr_name: %s, flags: %d", ifr.ifr_name, in rdsv3_do_ip_ioctl_old() 407 "2. ifr_name: %s, flags: %d", ifr.ifr_name, in rdsv3_do_ip_ioctl_old() 413 "3. ifr_name: %s, flags: %d", ifr.ifr_name, in rdsv3_do_ip_ioctl_old() 418 "4. ifr_name: %s, flags: %d", ifr.ifr_name, in rdsv3_do_ip_ioctl_old() 461 rc, ifr.ifr_name); in rdsv3_do_ip_ioctl_old()
|
H A D | af_rds.c | 429 RDSV3_DPRINTF2("rdsv3_ioctl", "1. name: %s", ifr.ifr_name); in rdsv3_ioctl() 435 rc, ifr.ifr_name, cmd); in rdsv3_ioctl() 440 RDSV3_DPRINTF2("rdsv3_ioctl", "2. name: %s", ifr.ifr_name); in rdsv3_ioctl()
|
/titanic_41/usr/src/lib/libbc/inc/include/net/ |
H A D | if.h | 194 char ifr_name[IFNAMSIZ]; /* if name, e.g. "en0" */ member
|
/titanic_41/usr/src/uts/common/io/ |
H A D | strplumb.c | 448 (void) strlcpy(ifr.ifr_name, rootfs.bo_ifname, sizeof (ifr.ifr_name)); in strplumb_dev()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 1366 (void) strncpy(lifreq.lifr_name, ifr->ifr_name, in initifs() 1367 sizeof (ifr->ifr_name)); in initifs() 1382 strncpy(phyintname, ifreq.ifr_name, sizeof (phyintname)); in initifs() 1399 li = find_logint(pi, ifreq.ifr_name); in initifs() 1438 li = add_logint(pi, ifreq.ifr_name); in initifs() 1553 (void) strlcpy(lifreq.lifr_name, ifr->ifr_name, in getconfig()
|
/titanic_41/usr/src/uts/common/io/bpf/ |
H A D | bpf.c | 1005 error = bpf_ifname(d, ifreq.ifr_name, sizeof (ifreq.ifr_name)); in bpfioctl() 1021 error = bpf_setif(d, ifreq.ifr_name, sizeof (ifreq.ifr_name)); in bpfioctl()
|
/titanic_41/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rds_ioctl.c | 224 (void) strlcpy(ifrp->ifr_name, lifrp->lifr_name, in rds_ioctl_copyin_done()
|
/titanic_41/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 4832 i += sizeof(ifr->ifr_name) + in load_if_names() 5016 i += sizeof(ifr->ifr_name) + sa->sa.sa_len; in load_if_names() 5034 (void) sm_strlcpy(ifrf.ifr_name, ifr->ifr_name, in load_if_names() 5035 sizeof(ifrf.ifr_name)); in load_if_names() 5059 ifr->ifr_name, inet_ntoa(ia)); in load_if_names() 5090 ifr->ifr_name, in load_if_names()
|
/titanic_41/usr/src/uts/common/net/ |
H A D | if.h | 449 char ifr_name[IFNAMSIZ]; /* if name, e.g. "en0" */ member
|
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent.c | 753 cpsize = sizeof u.ifreq.ifr_name + u.ifreq.ifr_addr.sa_len; 760 cpsize = sizeof u.ifreq.ifr_name;
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_dlinet.c | 1466 (void) strncpy((caddr_t)&ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in ifioctl() 1500 (void) strncpy((caddr_t)&ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in setifflags()
|
/titanic_41/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.c | 822 (void) strcat(ifnames, ifc.ifc_req[i].ifr_name); in get_ifnames()
|
/titanic_41/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_pfp.c | 1150 (void) strlcpy(name, ifreqp->ifr_name, sizeof (name)); in pfp_ifreq_getlinkid()
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 7084 ifr->ifr_name[IFNAMSIZ - 1] = '\0'; in ip_extract_lifreq() 7085 name = ifr->ifr_name; in ip_extract_lifreq() 7438 ipif_get_name(ipif, ifr->ifr_name, in ip_sioctl_get_ifconf() 7439 sizeof (ifr->ifr_name)); in ip_sioctl_get_ifconf()
|