Home
last modified time | relevance | path

Searched refs:ifc_len (Results 1 – 24 of 24) sorted by relevance

/titanic_44/usr/src/ucblib/librpcsoc/
H A Dget_myaddress.c72 ifc.ifc_len = numifs * sizeof (struct ifreq); in get_myaddress()
73 if ((ifc.ifc_buf = (caddr_t)malloc(ifc.ifc_len)) == NULL) { in get_myaddress()
95 for (len = ifc.ifc_len; len > 0; len -= sizeof (ifreq), ifr++) { in get_myaddress()
/titanic_44/usr/src/lib/libresolv/
H A Dres_init.c130 ifc.ifc_len = bufsize; in res_init()
141 for (n = ifc.ifc_len / sizeof (struct ifreq); n > 0; in res_init()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Daf_rds.c362 ifc.ifc_len, ifc.ifc_req); in rdsv3_ioctl()
371 if ((ifc.ifc_len > 0) && (numifs > 0)) { in rdsv3_ioctl()
373 (ifc.ifc_len < bufsize) ? ifc.ifc_len : in rdsv3_ioctl()
382 ifc.ifc_len = bufsize; in rdsv3_ioctl()
H A Drdsv3_impl.c355 ifc.ifc_len = bufsize; in rdsv3_do_ip_ioctl_old()
365 if (bufsize <= ifc.ifc_len) { in rdsv3_do_ip_ioctl_old()
371 n = ifc.ifc_len / sizeof (struct ifreq); in rdsv3_do_ip_ioctl_old()
/titanic_44/usr/src/lib/librdc/common/
H A Dnetaddrs.c100 ifc->ifc_len = 0; in getmyaddrs()
131 ifc->ifc_len = numifs * sizeof (struct ifreq); in getmyaddrs()
190 n = ifc->ifc_len / sizeof (struct ifreq); in self_check()
/titanic_44/usr/src/lib/libslp/clib/
H A Dslp_net_utils.c260 ifc.ifc_len = bufsize; in get_all_interfaces()
268 for (n = ifc.ifc_len / sizeof (struct ifreq); n > 0; n--, ifrp++) { in get_all_interfaces()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c240 ifc.ifc_len = bufsize;
246 n = ifc.ifc_len/sizeof (struct ifreq);
H A Din.rarpd.c326 ifconf.ifc_len = bufsize; in getintf()
334 for (ifr = ifconf.ifc_req; ifconf.ifc_len > 0; in getintf()
335 ifr++, ifconf.ifc_len -= sizeof (struct ifreq)) { in getintf()
H A Din.rwhod.c544 ifc.ifc_len = bufsize; in configure()
553 for (n = ifc.ifc_len / sizeof (struct ifreq); n > 0; n--, ifr++) { in configure()
H A Droute.c1986 ifc.ifc_len = bufsize; in inet_makesubnetmask()
1992 for (n = ifc.ifc_len / sizeof (struct ifreq); n > 0; n--, ifr++) { in inet_makesubnetmask()
/titanic_44/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c196 ubuf_size = STRUCT_FGET(ifc, ifc_len); in rds_ioctl_copyin_done()
230 STRUCT_FSET(ifc, ifc_len, MBLKL(mp1)); in rds_ioctl_copyin_done()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSUNP.c550 ifc.ifc_len = len; in get_ifi_info()
557 if (ifc.ifc_len == lastlen) in get_ifi_info()
559 lastlen = ifc.ifc_len; in get_ifi_info()
570 for (ptr = buf; ptr < buf + ifc.ifc_len; ) { in get_ifi_info()
/titanic_44/usr/src/uts/common/net/
H A Dif.h628 int ifc_len; /* size of associated buffer */ member
640 int32_t ifc_len; /* size of associated buffer */ member
/titanic_44/usr/src/lib/libbc/inc/include/net/
H A Dif.h256 int ifc_len; /* size of associated buffer */ member
/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c702 ifc.ifc_len = bufsiz;
722 if (ifc.ifc_len + 2 * sizeof(u.ifreq) < bufsiz)
737 cplim = buf + ifc.ifc_len; /*%< skip over if's with big ifr_addr's */
/titanic_44/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c202 ifc->ifc_len = 0; in getmyaddrs()
233 ifc->ifc_len = numifs * sizeof (struct ifreq); in getmyaddrs()
272 n = ifc->ifc_len / sizeof (struct ifreq); in islocalhost()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c771 ifc.ifc_len = req_size;
785 for (i = ifc.ifc_len / sizeof (struct ifreq); i > 0; i--, pifreq++) {
2767 ifc.ifc_len = nif * sizeof (struct ifreq); in get_ether_addr()
2768 ifc.ifc_buf = (caddr_t)malloc(ifc.ifc_len); in get_ether_addr()
2778 ifend = (struct ifreq *)(ifc.ifc_buf + ifc.ifc_len); in get_ether_addr()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c269 ifc.ifc_len = *lenp; in get_ifconf()
277 *lenp = ifc.ifc_len; in get_ifconf()
/titanic_44/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c804 ifc.ifc_len = n_ifs * sizeof (struct ifreq); in get_ifnames()
/titanic_44/usr/src/cmd/sendmail/src/
H A Dconf.c4972 ifc.ifc_len = numifs * sizeof(struct ifreq); in load_if_names()
4973 ifc.ifc_buf = xalloc(ifc.ifc_len); in load_if_names()
4986 ifc.ifc_len); in load_if_names()
4988 for (i = 0; i < ifc.ifc_len && i >= 0; ) in load_if_names()
5011 if ((ifc.ifc_len - i) < sizeof(*ifr)) in load_if_names()
/titanic_44/usr/src/lib/libsldap/common/
H A Dns_common.c698 ifc.ifc_len = numifs * (int)sizeof (struct ifreq); in __s_api_get_local_interfaces()
707 numifs = ifc.ifc_len/(int)sizeof (struct ifreq); in __s_api_get_local_interfaces()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c1351 ifc.ifc_len = bufsize; in initifs()
1361 for (n = ifc.ifc_len/sizeof (struct ifreq); n > 0; n--, ifr++) { in initifs()
/titanic_44/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c2942 ifc.ifc_len = numifs * (int)sizeof (struct ifreq); in getbroadcastnets()
2960 for (i = 0, n = ifc.ifc_len / (int)sizeof (struct ifreq); in getbroadcastnets()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip_if.c7391 ifclen = STRUCT_FGET(ifc, ifc_len); in ip_sioctl_get_ifconf()
7452 STRUCT_FSET(ifc, ifc_len, in ip_sioctl_get_ifconf()