Home
last modified time | relevance | path

Searched refs:nifs (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c121 int nifs; in rds_do_lifconf() local
123 if ((err = rds_do_ip_ioctl(SIOCGIFNUM, sizeof (int), &nifs)) != 0) in rds_do_lifconf()
130 nifs += 4; in rds_do_lifconf()
134 lifcp->lifc_len = *bufsizep = (nifs * sizeof (struct lifreq)); in rds_do_lifconf()
167 int i, nifs, retval = 0; in rds_ioctl_copyin_done() local
172 nifs = lifc.lifc_len / sizeof (struct lifreq); in rds_ioctl_copyin_done()
173 for (lifrp = lifc.lifc_req, i = 0; i < nifs; i++, lifrp++) { in rds_ioctl_copyin_done()
190 int i, nifs; in rds_ioctl_copyin_done() local
210 nifs = lifc.lifc_len / sizeof (struct lifreq); in rds_ioctl_copyin_done()
211 for (lifrp = lifc.lifc_req, i = 0; i < nifs && in rds_ioctl_copyin_done()
[all …]
/titanic_44/usr/src/cmd/ipf/tools/
H A Dip_fil.c151 static int nifs = 0; variable
663 nifs = 1;
666 nifs++;
668 (nifs + 1) * sizeof(ifp));
671 nifs = 0;
674 ifneta[nifs] = NULL;
675 ifneta[nifs - 1] = (struct ifnet *)malloc(sizeof(*ifp));
676 if (!ifneta[nifs - 1]) {
677 nifs--;
681 ifp = ifneta[nifs - 1];
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp.c379 int i, nifs, naddr = 0; in ibcm_arp_get_ibd_ipaddr() local
393 nifs = lifc.lifc_len / sizeof (struct lifreq); in ibcm_arp_get_ibd_ipaddr()
396 family_loc, nifs); in ibcm_arp_get_ibd_ipaddr()
398 for (lifrp = lifc.lifc_req, i = 0; i < nifs; i++, lifrp++) { in ibcm_arp_get_ibd_ipaddr()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_hw.c412 atomic_inc_32(&dev->nifs); in oce_create_nw_interface()
447 if (dev->nifs > 0) { in oce_delete_nw_interface()
449 atomic_dec_32(&dev->nifs); in oce_delete_nw_interface()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c111 rdsv3_do_ip_ioctl(ksocket_t so4, void **ipaddrs, int *size, int *nifs) in rdsv3_do_ip_ioctl() argument
124 *nifs = 0; in rdsv3_do_ip_ioctl()
273 *nifs = numifs; in rdsv3_do_ip_ioctl()
316 rdsv3_do_ip_ioctl_old(ksocket_t so4, void **ipaddrs, int *size, int *nifs) in rdsv3_do_ip_ioctl_old() argument
329 *nifs = 0; in rdsv3_do_ip_ioctl_old()
487 *nifs = numifs; in rdsv3_do_ip_ioctl_old()
/titanic_44/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3_impl.h349 int rdsv3_do_ip_ioctl(ksocket_t so4, void **ipaddrs, int *size, int *nifs);
350 int rdsv3_do_ip_ioctl_old(ksocket_t so4, void **ipaddrs, int *size, int *nifs);
/titanic_44/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c1491 int nifs; in get_default_nic_addr() local
1493 nifs = ifaddrlist(&al, AF_INET, LIFC_EXTERNAL_SOURCE, errmsg); in get_default_nic_addr()
1494 if (nifs <= 0) in get_default_nic_addr()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_impl.h274 uint32_t nifs; /* No of interfaces created */ member
/titanic_44/usr/src/uts/common/rpc/
H A Drpcib.c5330 uint_t i, nifs; in rpcib_get_ib_addresses() local
5343 if ((nifs = lifc.lifc_len / sizeof (struct lifreq)) == 0) { in rpcib_get_ib_addresses()
5352 addrs4->ri_size = nifs * sizeof (struct sockaddr_in); in rpcib_get_ib_addresses()
5354 addrs6->ri_size = nifs * sizeof (struct sockaddr_in6); in rpcib_get_ib_addresses()
5357 for (lifrp = lifc.lifc_req, i = 0; i < nifs; i++, lifrp++) { in rpcib_get_ib_addresses()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip_if.c18154 int i, nifs; in ip_ipmp_cleanup() local
18167 nifs = lifc.lifc_len / lifrsize; in ip_ipmp_cleanup()
18168 for (lifrp = lifc.lifc_req, i = 0; i < nifs; i++, lifrp++) { in ip_ipmp_cleanup()