/titanic_41/usr/src/lib/libinetutil/common/ |
H A D | ifaddrlist.c | 96 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 D | ifaddrlistx.c | 84 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 D | netstrategy.c | 185 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 D | is_local_host.c | 107 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 D | rds_ioctl.c | 134 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 D | interface_id.c | 170 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 D | getifaddrs.c | 252 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 D | misc.c | 130 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 D | foreachaddr.c | 146 lifc.lifc_len = *lenp; in get_lifconf() 154 *lenp = lifc.lifc_len; in get_lifconf()
|
H A D | localaddr.c | 299 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 D | common.c | 324 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 D | af_rds.c | 329 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 D | rdsv3_impl.c | 156 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 D | selfcheck.c | 158 lifc->lifc_len = numifs * sizeof (struct lifreq); in getmyaddrs()
|
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_nic.c | 646 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 D | if.h | 539 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 D | startup.c | 90 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 D | gethostent.c | 487 #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 D | ibcm_arp.c | 328 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 D | interface.c | 1742 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 D | netdir_inet_sundry.c | 359 lifc.lifc_len = needed; in get_if_info() 376 numifs = lifc.lifc_len / (int)sizeof (struct lifreq); in get_if_info()
|
H A D | getipnodeby.c | 726 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 D | mDNSUNP.c | 382 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 D | ncaconfd.c | 490 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 D | if.c | 1101 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()
|