Searched refs:netif (Results 1 - 13 of 13) sorted by relevance
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | getifname.c | 40 struct ifnet netif; local 52 if (kmemcpy((char *)&netif, (u_long)ptr, sizeof(netif)) == -1) 57 return strdup(netif.if_xname); 59 if (kstrncpy(buf, (u_long)netif.if_name, sizeof(buf)) == -1) 61 if (netif.if_unit < 10) 63 else if (netif.if_unit < 1000) 65 else if (netif.if_unit < 10000) 70 sprintf(buf + strlen(buf), "%d", netif.if_unit % 10000);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | netif.h | 1 /* $NetBSD: netif.h,v 1.4 1995/09/14 23:45:30 pk Exp $ */ 13 int (*netif_match)(struct netif *, void *); 14 int (*netif_probe)(struct netif *, void *); 18 void (*netif_end)(struct netif *); 28 /* the following fields are used internally by the netif layer */ 42 struct netif { struct 55 struct netif *netif_select(void *); 56 int netif_probe(struct netif *, void *); 57 void netif_attach(struct netif *, struct iodesc *, void *); 58 void netif_detach(struct netif *); [all...] |
H A D | iodesc.h | 49 struct netif *io_netif;
|
H A D | netif.c | 1 /* $NetBSD: netif.c,v 1.10 1997/09/06 13:57:14 drochner Exp $ */ 48 #include "netif.h" 80 struct netif *nif; 93 struct netif * 99 struct netif cur_if; 100 static struct netif best_if; 166 struct netif *nif; 180 struct netif *nif; 203 struct netif *nif; 227 struct netif *ni [all...] |
H A D | Makefile.inc | 172 $(LIBSTAND_SRC)/net.c $(LIBSTAND_SRC)/udp.c $(LIBSTAND_SRC)/netif.c \ 174 OBJS += arp.o ether.o inet_ntoa.o in_cksum.o net.o udp.o netif.o rpc.o
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | ofw_net.c | 42 #include <netif.h> 46 static int ofwn_probe(struct netif *, void *); 47 static int ofwn_match(struct netif *, void *); 51 static void ofwn_end(struct netif *); 79 ofwn_match(struct netif *nif, void *machdep_hint) 85 ofwn_probe(struct netif *nif, void *machdep_hint) 231 ofwn_end(struct netif *nif)
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | net.c | 43 #include <netif.h> 50 static int net_probe(struct netif *, void *); 51 static int net_match(struct netif *, void *); 55 static void net_end(struct netif *); 199 net_match(struct netif *nif, void *machdep_hint) 211 net_probe(struct netif *nif, void *machdep_hint) 238 struct netif *nif = desc->io_netif; 277 struct netif *nif = desc->io_netif; 317 struct netif *nif = desc->io_netif; 354 net_end(struct netif *ni [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efinet.c | 37 #include <netif.h> 46 static void efinet_end(struct netif *); 49 static int efinet_match(struct netif *, void *); 50 static int efinet_probe(struct netif *, void *); 100 efinet_match(struct netif *nif, void *machdep_hint) 110 efinet_probe(struct netif *nif, void *machdep_hint) 119 struct netif *nif = desc->io_netif; 147 struct netif *nif = desc->io_netif; 182 struct netif *nif = desc->io_netif; 240 efinet_end(struct netif *ni [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | pxe.c | 40 #include <netif.h> 82 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); 268 /* On first open, do netif open, mount, etc. */ 305 setenv("boot.netif.ip", inet_ntoa(myip), 1); 306 setenv("boot.netif.netmask", intoa(netmask), 1); 307 setenv("boot.netif.gateway", inet_ntoa(gateip), 1); 310 setenv("boot.netif.hwaddr", temp, 1); 320 setenv("boot.netif [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnb.h | 38 #include <xen/public/io/netif.h>
|
H A D | xnf.c | 139 #include <xen/public/io/netif.h>
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | dev_net.c | 63 #include <netif.h> 129 /* On first open, do netif open, mount, etc. */ 166 setenv("boot.netif.hwaddr", ether_sprintf(d->myea), 1); 167 setenv("boot.netif.ip", inet_ntoa(myip), 1); 168 setenv("boot.netif.netmask", intoa(netmask), 1); 169 setenv("boot.netif.gateway", inet_ntoa(gateip), 1); 197 /* On last close, do netif close, etc. */
|
/illumos-gate/usr/src/boot/sys/boot/userboot/libstand/ |
H A D | Makefile | 125 SRCS+= arp.c ether.c inet_ntoa.c in_cksum.c net.c udp.c netif.c rpc.c
|
Completed in 96 milliseconds