/src/sys/arch/sun68k/stand/libsa/ |
netif.h | 1 /* $NetBSD: netif.h,v 1.4 2009/01/12 11:32:45 tsutsui Exp $ */ 6 struct netif { struct
|
netif_sun.c | 34 * so it is easiest to just replace the netif module with 60 #include "netif.h" 66 struct netif prom_netif; 79 int netif_attach(struct netif *, struct iodesc *, void *); 80 void netif_detach(struct netif *); 87 * Return netif ptr on success. 181 netif_attach(struct netif *nif, struct iodesc *s, void *aux) 199 netif_detach(struct netif *nif) 216 struct netif *nif; 242 struct netif *nif [all...] |
/src/sys/lib/libsa/ |
netif.h | 1 /* $NetBSD: netif.h,v 1.8 2024/02/27 16:09:19 christos Exp $ */ 34 struct netif; /* forward */ 38 int (*netif_match)(struct netif *, void *); 39 int (*netif_probe)(struct netif *, void *); 43 void (*netif_end)(struct netif *); 53 /* the following fields are used internally by the netif layer */ 67 struct netif { struct 80 struct netif *netif_select(void *); 81 int netif_probe(struct netif *, void *); 82 void netif_attach(struct netif *, struct iodesc *, void *) [all...] |
netif.c | 1 /* $NetBSD: netif.c,v 1.27 2023/09/14 03:08:31 rin Exp $ */ 47 #include "netif.h" 77 int netif_match(struct netif *, void *); 80 netif_match(struct netif *nif, void *machdep_hint) 92 struct netif * 97 struct netif cur_if; 98 static struct netif best_if; 167 netif_probe(struct netif *nif, void *machdep_hint) 179 netif_attach(struct netif *nif, struct iodesc *desc, void *machdep_hint) 199 netif_detach(struct netif *nif [all...] |
/src/sys/arch/ews4800mips/stand/common/ |
ether_if.c | 41 #include <lib/libsa/netif.h> 57 int ether_match(struct netif *, void *); 58 int ether_probe(struct netif *, void *); 62 void ether_end(struct netif *); 92 ether_match(struct netif *netif, void *hint) 99 ether_probe(struct netif *netif, void *hint) 128 ether_end(struct netif *netif) [all...] |
/src/sys/arch/cobalt/stand/boot/ |
nif_tlp.c | 44 #include <lib/libsa/netif.h> 49 static int tlp_match(struct netif *, void *); 50 static int tlp_probe(struct netif *, void *); 54 static void tlp_end(struct netif *); 81 tlp_match(struct netif *netif, void *hint) 89 tlp_probe(struct netif *netif, void *hint) 99 struct netif *nif = desc->io_netif; 109 struct netif *nif = desc->io_netif [all...] |
conf.c | 46 #include <netif.h>
|
/src/sys/arch/evbmips/stand/sbmips/netboot/ |
if_cfe.c | 43 #include <lib/libsa/netif.h> 51 int cfenet_probe(struct netif *, void *); 52 int cfenet_match(struct netif *, void *); 56 void cfenet_end(struct netif *); 81 cfenet_match(struct netif *nif, void *machdep_hint) 88 cfenet_probe(struct netif *nif, void *machdep_hint) 145 cfenet_end(struct netif *nif)
|
/src/sys/arch/sbmips/stand/netboot/ |
if_cfe.c | 43 #include <lib/libsa/netif.h> 51 int cfenet_probe(struct netif *, void *); 52 int cfenet_match(struct netif *, void *); 56 void cfenet_end(struct netif *); 81 cfenet_match(struct netif *nif, void *machdep_hint) 88 cfenet_probe(struct netif *nif, void *machdep_hint) 145 cfenet_end(struct netif *nif)
|
/src/sys/arch/x68k/stand/boot/ |
if_ne.c | 38 #include <lib/libsa/netif.h> 45 static int ne_match(struct netif *, void *); 46 static int ne_probe(struct netif *, void *); 50 static void ne_end(struct netif *); 61 ne_match(struct netif *nif, void *machdep_hint) 76 ne_probe(struct netif *nif, void *machdep_hint) 129 ne_end(struct netif *nif)
|
/src/sys/arch/mvmeppc/stand/libsa/ |
if_bug.c | 45 #include <lib/libsa/netif.h> 50 static int bug_match(struct netif *, void *); 51 static int bug_probe(struct netif *, void *); 55 static void bug_end(struct netif *); 85 bug_match(struct netif *nif, void *machdep_hint) 97 bug_probe(struct netif *nif, void *machdep_hint) 106 struct netif *nif = desc->io_netif; 142 struct netif *nif = desc->io_netif; 171 struct netif *nif = desc->io_netif; 195 bug_end(struct netif *nif [all...] |
/src/dist/pf/usr.sbin/ftp-proxy/ |
ipf.h | 21 extern const char *netif;
|
filter.h | 41 extern const char * netif;
|
/src/sys/arch/vax/boot/boot/ |
netio.c | 84 #include <lib/libsa/netif.h> 104 static struct netif best_if; 175 return (*((struct netif*)desc->io_netif)->nif_driver->netif_put) 182 return (*((struct netif*)desc->io_netif)->nif_driver->netif_get)
|
/src/sys/arch/hpcmips/stand/lcboot/ |
if_cs.c | 35 #include <lib/libsa/netif.h> 41 static int cs_match(struct netif *, void *); 42 static int cs_probe(struct netif *, void *); 46 static void cs_end(struct netif *); 99 cs_match(struct netif *nif, void *machdep_hint) 105 cs_probe(struct netif *nif, void *machdep_hint) 171 panic("cannot reset netif"); 259 cs_end(struct netif *nif)
|
conf.c | 34 #include <lib/libsa/netif.h>
|
/src/sys/arch/ia64/stand/efi/libefi/ |
efinet.c | 37 #include <lib/libsa/netif.h> 48 int efinet_match(struct netif *, void *); 49 int efinet_probe(struct netif *, void *); 53 void efinet_end(struct netif *); 102 efinet_match(struct netif *nif, void *machdep_hint) 109 efinet_probe(struct netif *nif, void *machdep_hint) 118 struct netif *nif = desc->io_netif; 147 struct netif *nif = desc->io_netif; 182 struct netif *nif = desc->io_netif; 274 efinet_end(struct netif *nif [all...] |
/src/sys/arch/luna68k/stand/boot/ |
if_le.c | 73 #include <lib/libsa/netif.h> 80 static int le_match(struct netif *, void *); 81 static int le_probe(struct netif *, void *); 85 static void le_end(struct netif *); 89 /* libsa netif glue stuff */ 136 le_match(struct netif *nif, void *machdep_hint) 155 le_probe(struct netif *nif, void *machdep_hint) 166 struct netif *nif = desc->io_netif; 188 struct netif *nif = desc->io_netif; 207 struct netif *nif = desc->io_netif [all...] |
/src/sys/arch/emips/stand/common/ |
enic.c | 66 #include <lib/libsa/netif.h> 78 static int enicprobe (struct netif *, void *); 79 static int enicmatch (struct netif *, void *); 83 static void enicend (struct netif *); 247 enicmatch(struct netif *nif, void *machdep_hint) 255 enicprobe(struct netif *nif, void *machdep_hint) 268 struct netif *nif = (struct netif *)desc->io_netif; 305 enicend(struct netif *nif)
|
/src/sys/arch/pmax/stand/common/ |
if_prom.c | 41 #include <lib/libsa/netif.h> 76 int prom_probe(struct netif *, void *); 77 int prom_match(struct netif *, void *); 81 void prom_end(struct netif *); 106 prom_match(struct netif *nif, void *machdep_hint) 115 prom_probe(struct netif *nif, void *machdep_hint) 126 struct netif *nif; 235 prom_end(struct netif *nif)
|
/src/sys/arch/mvme68k/stand/netboot/ |
if_ie.c | 49 #include "netif.h" 58 void ie_stop(struct netif *); 59 void ie_end(struct netif *); 60 void ie_error(struct netif *, char *, volatile struct iereg *); 63 int ie_match(struct netif *, void *); 65 int ie_probe(struct netif *, void *); 67 void ie_reset(struct netif *, u_char *); 107 ie_match(struct netif *nif, void *machdep_hint) 131 ie_probe(struct netif *nif, void *machdep_hint) 144 ie_error(struct netif *nif, char *str, volatile struct iereg *ier [all...] |
if_le.c | 70 #include "netif.h" 78 void le_end(struct netif *); 79 void le_error(struct netif *, char *, volatile struct lereg1 *); 82 int le_match(struct netif *, void *); 84 int le_probe(struct netif *, void *); 86 void le_reset(struct netif *, u_char *); 127 le_match(struct netif *nif, void *machdep_hint) 151 le_probe(struct netif *nif, void *machdep_hint) 164 le_error(struct netif *nif, char *str, volatile struct lereg1 *ler1) 185 le_reset(struct netif *nif, u_char *myea [all...] |
/src/sys/arch/sparc/stand/common/ |
netif_sun.c | 30 * so it is easiest to just replace the netif module with 45 #include <lib/libsa/netif.h> 51 static struct netif netif_prom; 109 struct netif *ni; 136 pd = (struct promdata *)((struct netif *)desc->io_netif)->nif_devdata; 180 pd = (struct promdata *)((struct netif *)desc->io_netif)->nif_devdata;
|
/src/sys/arch/sparc/stand/ofwboot/ |
netif_of.c | 36 * so it is easiest to just replace the netif module with 53 #include <lib/libsa/netif.h> 59 static struct netif netif_of; 108 struct netif *ni; 144 op = ((struct netif *)desc->io_netif)->nif_devdata; 190 op = ((struct netif *)desc->io_netif)->nif_devdata;
|
/src/sys/arch/alpha/stand/netboot/ |
if_prom.c | 43 #include <lib/libsa/netif.h> 73 prom_match(struct netif *nif, void *machdep_hint) 80 prom_probe(struct netif *nif, void *machdep_hint) 209 prom_end(struct netif *nif)
|