| /netbsd/src/sys/lib/libsa/ |
| D | net.h | 107 u_char *arpwhohas(struct iodesc *, struct in_addr); 108 void arp_reply(struct iodesc *, void *); 112 ssize_t sendether(struct iodesc *, void *, size_t, u_char *, int); 113 ssize_t readether(struct iodesc *, void *, size_t, saseconds_t, u_int16_t *); 115 ssize_t sendip __P((struct iodesc *, void *, size_t, u_int8_t)); 116 ssize_t readip __P((struct iodesc *, void *, size_t, time_t, u_int8_t)); 118 ssize_t sendudp(struct iodesc *, void *, size_t); 119 ssize_t readudp(struct iodesc *, void *, size_t, saseconds_t); 121 int tcp_connect __P((struct iodesc *)); 122 ssize_t sendtcp __P((struct iodesc *, void *, size_t)); [all …]
|
| D | tftp.c | 69 struct iodesc *iodesc; member 93 static ssize_t recvtftp(struct iodesc *, void *, size_t, saseconds_t); 102 recvtftp(struct iodesc *d, void *pkt, size_t len, saseconds_t tleft) in recvtftp() 176 h->iodesc->myport = htons(tftpport + (getsecs() & 0x3ff)); in tftp_makereq() 177 h->iodesc->destport = htons(IPPORT_TFTP); in tftp_makereq() 178 h->iodesc->xid = 1; /* expected block */ in tftp_makereq() 180 res = sendrecv(h->iodesc, sendudp, &wbuf.t, wtail - (char *)&wbuf.t, in tftp_makereq() 212 h->iodesc->xid = h->currblock + 1; /* expected block */ in tftp_getnextblock() 214 res = sendrecv(h->iodesc, sendudp, &wbuf.t, wtail - (char *)&wbuf.t, in tftp_getnextblock() 247 (void)sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t); in tftp_terminate() [all …]
|
| D | iodesc.h | 65 struct iodesc { struct 75 struct iodesc *socktodesc(int); argument 76 ssize_t netif_get(struct iodesc *, void *, size_t, saseconds_t); 77 ssize_t netif_put(struct iodesc *, void *, size_t);
|
| D | netif.h | 40 void (*netif_init)(struct iodesc *, void *); 41 int (*netif_get)(struct iodesc *, void *, size_t, saseconds_t); 42 int (*netif_put)(struct iodesc *, void *, size_t); 82 void netif_attach(struct netif *, struct iodesc *, void *);
|
| D | nfs.c | 90 struct iodesc *iodesc; member 138 int nfs_getrootfh(struct iodesc *, char *, u_char *, int *); 149 nfs_getrootfh(struct iodesc *d, char *path, u_char *fhp, int *versionp) in nfs_getrootfh() 282 cc = rpc_call(d->iodesc, NFS_PROG, NFS_VER2, NFSPROC_LOOKUP, in nfs_lookupfh() 301 cc = rpc_call(d->iodesc, NFS_PROG, NFS_VER3, NFSV3PROC_LOOKUP, in nfs_lookupfh() 364 cc = rpc_call(d->iodesc, NFS_PROG, d->version, NFSPROC_READLINK, in nfs_readlink() 461 cc = rpc_call(d->iodesc, NFS_PROG, d->version, NFSPROC_READ, in nfs_readdata() 477 cc = rpc_call(d->iodesc, NFS_PROG, d->version, NFSPROC_READ, in nfs_readdata() 542 struct iodesc *desc; in nfs_mount() 556 nfs_root_node.iodesc = desc; in nfs_mount() [all …]
|
| /netbsd/src/sys/arch/ews4800mips/stand/common/ |
| D | ether_if.c | 59 void ether_init(struct iodesc *, void *); 60 int ether_get(struct iodesc *, void *, size_t, saseconds_t); 61 int ether_put(struct iodesc *, void *, size_t); 106 ether_init(struct iodesc *iodesc, void *hint) in ether_init() argument 110 lance_eaddr(iodesc->myea); in ether_init() 114 ether_get(struct iodesc *iodesc, void *pkt, size_t len, saseconds_t timeout) in ether_get() argument 121 ether_put(struct iodesc *iodesc, void *pkt, size_t len) in ether_put() argument
|
| /netbsd/src/sys/arch/sbmips/stand/netboot/ |
| D | if_cfe.c | 53 void cfenet_init(struct iodesc *, void *); 54 int cfenet_get(struct iodesc *, void *, size_t, saseconds_t); 55 int cfenet_put(struct iodesc *, void *, size_t); 95 cfenet_put(struct iodesc *desc, void *pkt, size_t len) in cfenet_put() 105 cfenet_get(struct iodesc *desc, void *pkt, size_t len, saseconds_t timeout) in cfenet_get() 122 cfenet_init(struct iodesc *desc, void *machdep_hint) in cfenet_init()
|
| /netbsd/src/sys/arch/x68k/stand/boot/ |
| D | if_ne.c | 47 static void ne_init(struct iodesc *, void *); 48 static int ne_get(struct iodesc *, void *, size_t, saseconds_t); 49 static int ne_put(struct iodesc *, void *, size_t); 83 ne_init(struct iodesc *desc, void *machdep_hint) in ne_init() 98 ne_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timeout) in ne_get() 114 ne_put(struct iodesc *desc, void *pkt, size_t len) in ne_put()
|
| /netbsd/src/sys/arch/cobalt/stand/boot/ |
| D | nif_tlp.c | 51 static void tlp_attach(struct iodesc *, void *); 52 static int tlp_get(struct iodesc *, void *, size_t, saseconds_t); 53 static int tlp_put(struct iodesc *, void *, size_t); 97 tlp_attach(struct iodesc *desc, void *hint) in tlp_attach() 106 tlp_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timeout) in tlp_get() 126 tlp_put(struct iodesc *desc, void *pkt, size_t len) in tlp_put()
|
| /netbsd/src/sys/arch/ofppc/stand/ofwboot/ |
| D | netif_of.c | 59 static struct iodesc sdesc; 61 struct iodesc * 72 struct iodesc *io; in netif_of_open() 103 struct iodesc *io; in netif_of_close() 129 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 172 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) in netif_get()
|
| /netbsd/src/sys/arch/shark/stand/ofwboot/ |
| D | netif_of.c | 59 static struct iodesc sdesc; 61 struct iodesc * 72 struct iodesc *io; in netif_of_open() 103 struct iodesc *io; in netif_of_close() 129 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 172 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) in netif_get()
|
| /netbsd/src/sys/arch/newsmips/stand/boot/ |
| D | netif_news.c | 56 static struct iodesc sdesc; 58 struct iodesc * 70 struct iodesc *io; in netif_news_open() 94 struct iodesc *io; in netif_news_close() 105 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 149 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) in netif_get()
|
| /netbsd/src/sys/arch/sparc/stand/common/ |
| D | netif_sun.c | 57 struct iodesc sockets[SOPEN_MAX]; 59 struct iodesc * 73 struct iodesc *io; in netif_open() 108 struct iodesc *io; in netif_close() 130 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 174 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) in netif_get()
|
| /netbsd/src/sys/arch/macppc/stand/ofwboot/ |
| D | netif_of.c | 59 static struct iodesc sdesc; 61 struct iodesc * 72 struct iodesc *io; in netif_of_open() 107 struct iodesc *io; in netif_of_close() 133 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 180 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) in netif_get()
|
| /netbsd/src/sys/arch/sparc/stand/ofwboot/ |
| D | netif_of.c | 61 struct iodesc sockets[SOPEN_MAX]; 63 struct iodesc * 75 struct iodesc *io; in netif_open() 107 struct iodesc *io; in netif_close() 138 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 184 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) in netif_get()
|
| /netbsd/src/sys/arch/vax/boot/boot/ |
| D | netio.c | 93 static struct iodesc desc; 96 struct iodesc * 105 struct iodesc *s; in net_devinit() 173 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 180 netif_get(struct iodesc *desc, void *pkt, size_t len, saseconds_t timo) in netif_get()
|
| /netbsd/src/sys/arch/mvmeppc/stand/libsa/ |
| D | if_bug.c | 52 static void bug_init(struct iodesc *, void *); 53 static int bug_get(struct iodesc *, void *, size_t, saseconds_t); 54 static int bug_put(struct iodesc *, void *, size_t); 104 bug_init(struct iodesc *desc, void *machdep_hint) in bug_init() 140 bug_get(struct iodesc *desc, void *pkt, size_t len, saseconds_t timeout) in bug_get() 169 bug_put(struct iodesc *desc, void *pkt, size_t len) in bug_put()
|
| /netbsd/src/sys/arch/sun68k/stand/libsa/ |
| D | netif_sun.c | 64 struct iodesc sockets[SOPEN_MAX]; 79 int netif_attach(struct netif *, struct iodesc *, void *); 181 netif_attach(struct netif *nif, struct iodesc *s, void *aux) in netif_attach() 217 struct iodesc *s; in netif_open() 241 struct iodesc *s; in netif_close() 259 struct iodesc * 275 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 341 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) in netif_get()
|
| /netbsd/src/sys/arch/pmax/stand/common/ |
| D | if_prom.c | 78 void prom_init(struct iodesc *, void *); 79 int prom_get(struct iodesc *, void *, size_t, saseconds_t); 80 int prom_put(struct iodesc *, void *, size_t); 124 prom_init(struct iodesc *desc, void *machdep_hint) in prom_init() 185 prom_put(struct iodesc *desc, void *pkt, size_t len) in prom_put() 209 prom_get(struct iodesc *desc, void *pkt, size_t len, saseconds_t timeout) in prom_get()
|
| /netbsd/src/sys/arch/luna68k/stand/boot/ |
| D | if_le.c | 82 static void le_init(struct iodesc *, void *); 83 static int le_get(struct iodesc *, void *, size_t, saseconds_t); 84 static int le_put(struct iodesc *, void *, size_t); 164 le_init(struct iodesc *desc, void *machdep_hint) in le_init() 186 le_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timeout) in le_get() 205 le_put(struct iodesc *desc, void *pkt, size_t len) in le_put()
|
| /netbsd/src/sys/arch/hpcmips/stand/lcboot/ |
| D | if_cs.c | 43 static void cs_init(struct iodesc *, void *); 44 static int cs_get(struct iodesc *, void *, size_t, time_t); 45 static int cs_put(struct iodesc *, void *, size_t); 142 cs_init(struct iodesc *desc, void *machdep_hint) in cs_init() 194 cs_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) in cs_get() 232 cs_put(struct iodesc *desc, void *pkt, size_t len) in cs_put()
|
| /netbsd/src/sys/arch/sandpoint/stand/altboot/ |
| D | nif.c | 54 static struct iodesc netdesc; 69 struct iodesc *s; in netif_init() 133 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 145 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) in netif_get() 156 struct iodesc *
|
| /netbsd/src/sys/arch/evbarm/stand/boot2440/ |
| D | netif.c | 64 static struct iodesc netdesc; 98 struct iodesc *s; in netif_init() 139 netif_put(struct iodesc *desc, void *pkt, size_t len) in netif_put() 148 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) in netif_get() 157 struct iodesc*
|
| /netbsd/src/sys/arch/emips/stand/common/ |
| D | enic.c | 80 static void enicinit (struct iodesc *, void *); 81 static int enicget (struct iodesc *, void *, size_t, saseconds_t); 82 static int enicput (struct iodesc *, void *, size_t); 265 enicinit(struct iodesc *desc, void *machdep_hint) in enicinit() 283 enicput(struct iodesc *desc, void *pkt, size_t len) in enicput() 295 enicget(struct iodesc *desc, void *pkt, size_t len, saseconds_t timeout) in enicget()
|
| /netbsd/src/sys/arch/ia64/stand/efi/libefi/ |
| D | efinet.c | 50 void efinet_init(struct iodesc *, void *); 51 int efinet_get(struct iodesc *, void *, size_t, saseconds_t); 52 int efinet_put(struct iodesc *, void *, size_t); 116 efinet_put(struct iodesc *desc, void *pkt, size_t len) in efinet_put() 145 efinet_get(struct iodesc *desc, void *pkt, size_t len, saseconds_t timeout) in efinet_get() 180 efinet_init(struct iodesc *desc, void *machdep_hint) in efinet_init()
|