Searched refs:lifr_name (Results 1 - 25 of 63) sorted by relevance

123

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinterface_id.c75 strncpy(lifr.lifr_name, ifname, size +1);
191 index = if_nametoindex(lifrp->lifr_name);
196 size = strcspn(lifrp->lifr_name,
198 lifrp->lifr_name[size] = '\0';
200 (void) strncpy(ifname, lifrp->lifr_name, size + 1);
288 size = strcspn(lifrp->lifr_name, (char *)IPIF_SEPARATOR_CHAR);
296 lifrp->lifr_name, size) == 0) {
308 if_nametoindex(lifrp->lifr_name);
319 lifrp->lifr_name[size] = '\0';
321 strdup(lifrp->lifr_name))
[all...]
H A Dgetifaddrs.c130 (void) strncpy(lifrl.lifr_name, lifrp->lifr_name,
131 sizeof (lifrl.lifr_name));
160 if ((curr->ifa_name = strdup(lifrp->lifr_name)) == NULL)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dforeachaddr.c257 strncpy(lifreq.lifr_name, lifr->lifr_name,
258 sizeof (lifreq.lifr_name));
260 lifreq.lifr_name);
267 lifr->lifr_name);
269 lifr->lifr_name[0] = '\0';
290 if (lifr2->lifr_name[0] == '\0')
328 if (lifr->lifr_name[0] == '\0')
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c598 (void) strncpy(name, lifrp->lifr_name, sizeof (name));
855 (void) strncpy(lifr.lifr_name, name, sizeof (lifr.lifr_name));
1030 (void) strncpy(lifr1.lifr_name, name, sizeof (lifr1.lifr_name));
1042 (void) strncpy(lifr.lifr_name, name, sizeof (lifr.lifr_name));
1054 lifr.lifr_name, afp->af_af,
1065 (void) strncpy(lifr.lifr_name, name, sizeof (lifr.lifr_name));
[all...]
/illumos-gate/usr/src/lib/libinetutil/common/
H A Difaddrlistx.c106 if ((cp = strchr(lifrp->lifr_name, ':')) != NULL)
109 if (strcmp(lifrp->lifr_name, ifname) != 0)
133 (void) strlcpy(ifaddrp->ia_name, lifrp->lifr_name, LIFNAMSIZ);
H A Difaddrlist.c132 (void) strlcpy(al->device, lifrp->lifr_name, LIFNAMSIZ);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dis_local_host.c127 (void) strncpy(lifr.lifr_name, lifrp->lifr_name,
128 sizeof (lifr.lifr_name));
/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c199 if (strchr(ifr->lifr_name, ':') != NULL)
204 (void) strncpy(flifr.lifr_name, ifr->lifr_name, LIFNAMSIZ);
240 (void) strncpy(interface, ifr->lifr_name, LIFNAMSIZ);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c105 (void) strlcpy(lifr.lifr_name, pname, LIFNAMSIZ);
181 (void) strlcpy(lifr.lifr_name, pif->pif_grifname,
187 "for %s", lifr.lifr_name);
433 (void) strlcpy(lifr.lifr_name, lname, LIFNAMSIZ);
675 (void) strlcpy(lifr.lifr_name, lif->lif_name, LIFNAMSIZ);
736 (void) strlcpy(lifr.lifr_name, lif->lif_name, LIFNAMSIZ);
779 (void) strlcpy(lifr.lifr_name, pif->pif_grifname, LIFNAMSIZ);
784 "failed on %s", lifr.lifr_name);
791 "on %s changed: %u to %u", lifr.lifr_name,
861 (void) strlcpy(lifr.lifr_name, li
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c198 (void) strncpy(lifr.lifr_name, pi->pi_name, sizeof (lifr.lifr_name));
199 lifr.lifr_name[sizeof (lifr.lifr_name) - 1] = '\0';
353 (void) strlcpy(lifr.lifr_name, pi->pi_name, LIFNAMSIZ);
405 (void) strlcpy(lifr.lifr_name, pi->pi_name, LIFNAMSIZ);
424 (void) strncpy(lifr.lifr_name, pi->pi_name, sizeof (lifr.lifr_name));
425 lifr.lifr_name[sizeof (lifr.lifr_name)
[all...]
H A Dmain.c432 (void) strncpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
433 lifr.lifr_name[sizeof (lifr.lifr_name) - 1] = '\0';
680 if_process(ifsock, lifr->lifr_name, first);
2369 (void) strncpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
2443 (void) strncpy(lifr.lifr_name, pr->pr_name,
2444 sizeof (lifr.lifr_name));
2462 (void) strncpy(lifr.lifr_name, p
[all...]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_if.c107 if (i_ipadm_get_lnum(lifrp->lifr_name) != 0)
114 if (ifname != NULL && strcmp(lifrp->lifr_name, ifname) != 0)
121 if (strcmp(lifrp->lifr_name, ifp->ifi_name) == 0)
130 (void) strlcpy(ifp->ifi_name, lifrp->lifr_name,
144 (void) strlcpy(lifrl.lifr_name,
145 lifrp->lifr_name, sizeof (lifrl.lifr_name));
471 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
472 if (strcmp(lifr.lifr_name, grnam
[all...]
H A Dlibipadm.c311 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
422 (void) strlcpy(lifr.lifr_name, lifname, sizeof (lifr.lifr_name));
452 (void) strlcpy(lifr.lifr_name, lifname, sizeof (lifr.lifr_name));
537 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
574 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
[all...]
H A Dipadm_ndpd.c166 (void) strlcpy(lifr.lifr_name, addr->ipadm_ifname, LIFNAMSIZ);
167 i_ipadm_addrobj2lifname(addr, lifr.lifr_name, sizeof (lifr.lifr_name));
H A Dipadm_addr.c472 (void) strlcpy(lifr.lifr_name, ifap->ifa_name,
473 sizeof (lifr.lifr_name));
931 i_ipadm_addrobj2lifname(ipaddr, lifr.lifr_name,
932 sizeof (lifr.lifr_name));
1034 i_ipadm_addrobj2lifname((ipadm_addrobj_t)arg, lifr.lifr_name,
1035 sizeof (lifr.lifr_name));
1109 (void) strlcpy(lifr.lifr_name, lifname,
1110 sizeof (lifr.lifr_name));
1138 (void) strlcpy(lifr.lifr_name, lifname,
1139 sizeof (lifr.lifr_name));
[all...]
H A Dipadm_prop.c400 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
432 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
466 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
874 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
912 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c107 (void) strncpy(lifr.lifr_name, lifrp->lifr_name,
108 sizeof (lifr.lifr_name));
119 ifp = if_ifwithname(lifr.lifr_name);
294 (char *)malloc((size_t)strlen(lifr.lifr_name) + 1);
300 (void) strcpy(ifp->int_name, lifr.lifr_name);
302 (char *)malloc((size_t)strlen(lifr.lifr_name) + 1);
309 (void) strcpy(ifp->int_ifbase, lifr.lifr_name);
/illumos-gate/usr/src/lib/libdscp/
H A Dlibdscp.c276 (void) strncpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
295 (void) strncpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
/illumos-gate/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c199 (void) strncpy((caddr_t)&lifr.lifr_name, ifname,
200 sizeof (lifr.lifr_name));
226 (void) strncpy((caddr_t)&lifr.lifr_name, ifname,
227 sizeof (lifr.lifr_name));
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c98 (void) strlcpy(ifname, lifrp->lifr_name, LIFNAMSIZ);
174 if (strlen(lifrp->lifr_name) <= IFNAMSIZ &&
217 if (strlen(lifrp->lifr_name) > IFNAMSIZ ||
224 (void) strlcpy(ifrp->ifr_name, lifrp->lifr_name,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dif_mpadm.c136 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
227 (void) strlcpy(lifr.lifr_name, lifname, LIFNAMSIZ);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c382 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
386 warn("Couldn't get IPv6 MTU on %s: %m", lifr.lifr_name);
399 lifr.lifr_name);
410 lifr.lifr_name);
667 (void) strlcpy(lifr.lifr_name, ifname,
668 sizeof (lifr.lifr_name));
3176 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
3240 (void) strlcpy(lifr.lifr_name, ifnam
[all...]
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c286 strlcpy(r.lifr_name, ifname, sizeof (r.lifr_name));
331 char *address = broadcast_address(s, r->lifr_name);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c492 (void) strlcpy(lifrr.lifr_name, interface, sizeof (lifrr.lifr_name));
675 (void) strlcpy(lifrl.lifr_name, lifrp->lifr_name,
676 sizeof (lifrl.lifr_name));
694 ifname = strdup(lifrp->lifr_name);
721 lifrp->lifr_name) == 0)
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1919 lifrl.lifr_name);
1924 (void) strncpy(lifrl.lifr_name, lifrp->lifr_name,
1925 sizeof (lifrl.lifr_name));
1935 "network interface is bound", lifrl.lifr_name);
1943 lifrl.lifr_name);
2111 * appropriate ioctl to get its zone name. But lifr->lifr_name is
2117 (void) strlcpy(save_if_name, lifr->lifr_name, sizeof (save_if_name));
2118 (void) strncpy(lifr->lifr_name, ifp->sdl_data, ifp->sdl_nlen);
2119 lifr->lifr_name[if
[all...]

Completed in 166 milliseconds

123