Searched refs:nif (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/boot/lib/libstand/
H A Dnetif.c79 netif_match(nif, machdep_hint)
80 struct netif *nif;
83 struct netif_driver *drv = nif->nif_driver;
88 nif->nif_unit, nif->nif_sel);
90 return drv->netif_match(nif, machdep_hint);
165 netif_probe(nif, machdep_hint)
166 struct netif *nif;
169 struct netif_driver *drv = nif->nif_driver;
173 printf("%s%d: netif_probe\n", drv->netif_bname, nif
227 struct netif *nif = desc->io_netif; local
257 struct netif *nif = desc->io_netif; local
297 struct netif *nif; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dnet.c199 net_match(struct netif *nif, void *machdep_hint) argument
211 net_probe(struct netif *nif, void *machdep_hint) argument
238 struct netif *nif = desc->io_netif; local
239 struct uboot_softc *sc = nif->nif_devdata;
277 struct netif *nif = desc->io_netif; local
278 struct uboot_softc *sc = nif->nif_devdata;
317 struct netif *nif = desc->io_netif; local
322 sc = nif->nif_devdata = &uboot_softc;
326 nif->nif_driver->netif_bname, nif
354 net_end(struct netif *nif) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Definet.c100 efinet_match(struct netif *nif, void *machdep_hint) argument
104 if (dev->d_unit - 1 == nif->nif_unit)
110 efinet_probe(struct netif *nif, void *machdep_hint) argument
119 struct netif *nif = desc->io_netif; local
124 net = nif->nif_devdata;
147 struct netif *nif = desc->io_netif; local
154 net = nif->nif_devdata;
182 struct netif *nif = desc->io_netif; local
187 if (nif->nif_driver->netif_ifs[nif
240 efinet_end(struct netif *nif) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dis_local_host.c82 int nif; local
121 nif = lifc.lifc_len / sizeof (struct lifreq);
122 nif > 0; nif--, lifrp++) {
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_net.c79 ofwn_match(struct netif *nif, void *machdep_hint) argument
85 ofwn_probe(struct netif *nif, void *machdep_hint) argument
231 ofwn_end(struct netif *nif) argument
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_query.h101 #define IPMP_IFLIST_SIZE(nif) \
102 IPMP_LIST_SIZE(iflist, LIFNAMSIZ, nif)
H A Dipmp_query.c557 ipmp_iflist_create(uint_t nif, char (*ifs)[LIFNAMSIZ]) argument
562 iflistp = malloc(IPMP_IFLIST_SIZE(nif));
566 iflistp->il_nif = nif;
567 for (i = 0; i < nif; i++)
642 ipmp_group_state_t state, uint_t nif, char (*ifs)[LIFNAMSIZ],
655 grinfop->gr_iflistp = ipmp_iflist_create(nif, ifs);
641 ipmp_groupinfo_create(const char *name, uint64_t sig, uint_t fdt, ipmp_group_state_t state, uint_t nif, char (*ifs)[LIFNAMSIZ], const char *grifname, const char *m4ifname, const char *m6ifname, const char *bcifname, uint_t naddr, struct sockaddr_storage *addrs) argument
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu.c734 nwamd_if_t *nif = &ncu_data->ncu_if; local
747 nif->nwamd_if_ipv4 = B_FALSE;
748 nif->nwamd_if_ipv6 = B_FALSE;
749 nif->nwamd_if_dhcp_requested = B_FALSE;
750 nif->nwamd_if_stateful_requested = B_FALSE;
751 nif->nwamd_if_stateless_requested = B_FALSE;
752 nif->nwamd_if_ipv4_default_route_set = B_FALSE;
753 nif->nwamd_if_ipv6_default_route_set = B_FALSE;
765 nif->nwamd_if_ipv4 = B_TRUE;
768 nif
[all...]
H A Dncu_ip.c225 nwamd_if_t *nif = &ncu->ncu_if; local
228 if (nif->nwamd_if_ipv4 && nif->nwamd_if_ipv4_default_route_set) {
239 &nif->nwamd_if_ipv4_default_route, str,
243 (struct sockaddr *)&nif->nwamd_if_ipv4_default_route,
247 if (nif->nwamd_if_ipv6 && nif->nwamd_if_ipv6_default_route_set) {
258 &nif->nwamd_if_ipv6_default_route, str,
262 (struct sockaddr *)&nif->nwamd_if_ipv6_default_route,
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_log.c245 net_handle_t nif; local
322 nif = NULL;
324 nif = ifs->ifs_ipf_ipv4;
326 nif = ifs->ifs_ipf_ipv6;
327 if (nif != NULL) {
328 if (net_getifname(nif, (phy_if_t)ifp,
H A Dip_fil_solaris.c916 net_handle_t nif; local
919 nif = ifs->ifs_ipf_ipv4;
921 nif = ifs->ifs_ipf_ipv6;
925 return (net_phylookup(nif, name));
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dpxe.c82 static int pxe_netif_match(struct netif *nif, void *machdep_hint);
83 static int pxe_netif_probe(struct netif *nif, void *machdep_hint);
88 static void pxe_netif_end(struct netif *nif);
590 pxe_netif_match(struct netif *nif, void *machdep_hint) argument
597 pxe_netif_probe(struct netif *nif, void *machdep_hint) argument
616 pxe_netif_end(struct netif *nif) argument
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dinode.c439 int nif; local
482 * nif indicates the next "free" pointer (as an array index) in this
487 * Note that in normal operation, nif may initially be calculated
490 * the case, nif is limited to the max number of pointers per
498 * the index nif may be computed as a negative value.
499 * In this case, we reset nif to indicate that all pointers in
504 nif = (offset_t)howmany(iblks, fsbperindirb);
505 if (nif > NINDIR(&sblock))
506 nif = NINDIR(&sblock);
507 else if (nif <
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c1143 uint_t nif = 0, nusable = 0; local
1152 nif++;
1161 else if (nif == nusable)
3182 unsigned int nif = 0, naddr = 0; local
3198 nif++;
3200 ifs = alloca(nif * sizeof (*ifs));
3202 assert(i < nif);
3207 assert(i == nif);
3215 groupstate(pg), nif, ifs, "", "", "", "", 0, NULL);
3261 groupstate(pg), nif, if
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c2750 int nif, s, retv; local
2762 if (myioctl(ipfd, SIOCGIFNUM, &nif) < 0) {
2763 nif = MAXIFS;
2765 if (nif <= 0)
2767 ifc.ifc_len = nif * sizeof (struct ifreq);

Completed in 124 milliseconds