Home
last modified time | relevance | path

Searched refs:lifc_len (Results 1 – 25 of 40) sorted by relevance

12

/titanic_41/usr/src/lib/libinetutil/common/
H A Difaddrlist.c96 lifc.lifc_len = lifn.lifn_count * sizeof (struct lifreq); in ifaddrlist()
97 if ((lifc.lifc_buf = realloc(lifc.lifc_buf, lifc.lifc_len)) == NULL) { in ifaddrlist()
112 nlifr = lifc.lifc_len / sizeof (struct lifreq); in ifaddrlist()
H A Difaddrlistx.c84 lifc.lifc_len = lifn.lifn_count * sizeof (struct lifreq); in ifaddrlistx()
85 if ((lifc.lifc_buf = realloc(lifc.lifc_buf, lifc.lifc_len)) == NULL) in ifaddrlistx()
96 nlifr = lifc.lifc_len / sizeof (struct lifreq); in ifaddrlistx()
/titanic_41/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c185 ifconf.lifc_len = ifnum.lifn_count * sizeof (struct lifreq); in get_first_interface()
186 ifconf.lifc_buf = alloca(ifconf.lifc_len); in get_first_interface()
194 for (ifr = ifconf.lifc_req; ifr < &ifconf.lifc_req[ifconf.lifc_len / in get_first_interface()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dis_local_host.c107 lifc.lifc_len = bufsiz; in is_local_if()
121 nif = lifc.lifc_len / sizeof (struct lifreq); in is_local_if()
/titanic_41/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c134 lifcp->lifc_len = *bufsizep = (nifs * sizeof (struct lifreq)); in rds_do_lifconf()
172 nifs = lifc.lifc_len / sizeof (struct lifreq); in rds_ioctl_copyin_done()
210 nifs = lifc.lifc_len / sizeof (struct lifreq); in rds_ioctl_copyin_done()
353 nifs = lifc.lifc_len / sizeof (struct lifreq); in rds_verify_bind_address()
/titanic_41/usr/src/lib/libsocket/inet/
H A Dinterface_id.c170 lifc.lifc_len = bufsize; in if_indextoname()
182 for (n = lifc.lifc_len / sizeof (struct lifreq); n > 0; n--, lifrp++) { in if_indextoname()
257 lifc.lifc_len = bufsize; in if_nameindex()
H A Dgetifaddrs.c252 lifc.lifc_len = bufsize; in getallifs()
257 *numifs = lifc.lifc_len / sizeof (struct lifreq); in getallifs()
/titanic_41/usr/src/lib/print/libpapi-common/common/
H A Dmisc.c130 c.lifc_len = (n.lifn_count * sizeof (struct lifreq)); in local_interfaces()
139 for (count = c.lifc_len / sizeof (struct lifreq); in local_interfaces()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dforeachaddr.c146 lifc.lifc_len = *lenp; in get_lifconf()
154 *lenp = lifc.lifc_len; in get_lifconf()
H A Dlocaladdr.c299 lifc.lifc_len = *lenp; in get_lifconf()
309 *lenp = lifc.lifc_len; in get_lifconf()
/titanic_41/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c324 c.lifc_len = (count * sizeof (struct lifreq)); in broadcast_addresses()
329 for (count = c.lifc_len / sizeof (struct lifreq); in broadcast_addresses()
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Daf_rds.c329 if ((lifc.lifc_len > 0) && (numifs > 0)) { in rdsv3_ioctl()
331 (lifc.lifc_len < bufsize) ? lifc.lifc_len : in rdsv3_ioctl()
340 lifc.lifc_len = bufsize; in rdsv3_ioctl()
H A Drdsv3_impl.c156 lifc.lifc_len = bufsize; in rdsv3_do_ip_ioctl()
165 if (bufsize <= lifc.lifc_len) { in rdsv3_do_ip_ioctl()
171 n = lifc.lifc_len / sizeof (struct lifreq); in rdsv3_do_ip_ioctl()
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dselfcheck.c158 lifc->lifc_len = numifs * sizeof (struct lifreq); in getmyaddrs()
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c646 lifc.lifc_len = lifn.lifn_count * sizeof (struct lifreq); in smb_nic_hlist_sysget()
647 lifc.lifc_buf = malloc(lifc.lifc_len); in smb_nic_hlist_sysget()
653 bzero(lifc.lifc_buf, lifc.lifc_len); in smb_nic_hlist_sysget()
665 ifnum = lifc.lifc_len / sizeof (struct lifreq); in smb_nic_hlist_sysget()
/titanic_41/usr/src/uts/common/net/
H A Dif.h539 int lifc_len; /* size of associated buffer */ member
586 int32_t lifc_len; /* size of associated buffer */ member
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c90 lifc.lifc_len = bufsize; in initifs()
105 for (n = lifc.lifc_len / sizeof (struct lifreq); n > 0; n--, lifrp++) { in initifs()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c487 #define lifc_len iflc_len macro
533 lifc.lifc_len = bufsiz;
544 if (lifc.lifc_len + 2 * sizeof(lifreq) < bufsiz)
558 cplim = buf + lifc.lifc_len; /*%< skip over if's with big ifr_addr's */
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp.c328 lifcp->lifc_len = *bufsizep = lifn.lifn_count * sizeof (struct lifreq); in ibcm_do_lifconf()
393 nifs = lifc.lifc_len / sizeof (struct lifreq); in ibcm_arp_get_ibd_ipaddr()
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c1742 lifc.lifc_len = numifs * sizeof (*lifrp); in remove_v6_strays()
1743 lifrp = realloc(lifc.lifc_buf, lifc.lifc_len); in remove_v6_strays()
1753 lifc.lifc_len < numifs * sizeof (*lifrp)) in remove_v6_strays()
1764 lifrmax = lifrp + lifc.lifc_len / sizeof (*lifrp); in remove_v6_strays()
/titanic_41/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c359 lifc.lifc_len = needed; in get_if_info()
376 numifs = lifc.lifc_len / (int)sizeof (struct lifreq); in get_if_info()
H A Dgetipnodeby.c726 lifc.lifc_len = bufsize; in __ai_addrconfig()
731 nlifr = lifc.lifc_len / sizeof (struct lifreq); in __ai_addrconfig()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSUNP.c382 lifc.lifc_len = len; in get_ifi_info_solaris()
389 nlifr = lifc.lifc_len / sizeof(struct lifreq); in get_ifi_info_solaris()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/
H A Dncaconfd.c490 lifc.lifc_len = lifn.lifn_count * sizeof (struct lifreq); in get_if_ip_addr()
504 num_lifr = lifc.lifc_len / sizeof (struct lifreq); in get_if_ip_addr()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c1101 lifc.lifc_len = needed; in ifscan()
1120 if (lifc.lifc_len >= needed - sizeof (struct lifreq)) in ifscan()
1124 lifrp_lim = lifrp + lifc.lifc_len / sizeof (*lifrp); in ifscan()

12