/src/sys/lib/libsa/ |
iodesc.h | 1 /* $NetBSD: iodesc.h,v 1.10 2014/03/29 14:30:16 jakllsch Exp $ */ 65 struct iodesc { struct 75 struct iodesc *socktodesc(int); 76 ssize_t netif_get(struct iodesc *, void *, size_t, saseconds_t); 77 ssize_t netif_put(struct iodesc *, void *, size_t);
|
net.h | 51 #include <lib/libsa/iodesc.h> 53 #include <iodesc.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) [all...] |
netif.h | 32 #include "iodesc.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 *);
|
rpc.h | 52 ssize_t rpc_call(struct iodesc *, n_long, n_long, n_long, void *, size_t, 57 int rpc_getport(struct iodesc *, n_long, n_long);
|
net.c | 83 sendrecv(struct iodesc *d, 84 ssize_t (*sproc)(struct iodesc *, void *, size_t), 86 ssize_t (*rproc)(struct iodesc *, void *, size_t, saseconds_t),
|
tftp.c | 69 struct iodesc *iodesc; member in struct:tftp_handle 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) 175 /* h->iodesc->myport = htons(--tftpport); */ 176 h->iodesc->myport = htons(tftpport + (getsecs() & 0x3ff)); 177 h->iodesc->destport = htons(IPPORT_TFTP); 178 h->iodesc->xid = 1; /* expected block */ 180 res = sendrecv(h->iodesc, sendudp, &wbuf.t, wtail - (char *)&wbuf.t, 212 h->iodesc->xid = h->currblock + 1; /* expected block * [all...] |
rarp.c | 79 static ssize_t rarpsend(struct iodesc *, void *, size_t); 80 static ssize_t rarprecv(struct iodesc *, void *, size_t, saseconds_t); 88 struct iodesc *d; 159 rarpsend(struct iodesc *d, void *pkt, size_t len) 175 rarprecv(struct iodesc *d, void *pkt, size_t len, saseconds_t tleft)
|
/src/sbin/mount_nfs/ |
iodesc.h | 1 /* $NetBSD: iodesc.h,v 1.3 2009/01/13 11:47:32 tsutsui Exp $ */ 35 /* An alternative to the definition in sys/lib/libsa/iodesc.h */ 41 struct iodesc { struct
|
udp_xfer.c | 66 sendudp(struct iodesc *d, void *pkt, size_t len) 91 readudp(struct iodesc *d, void *pkt, size_t len, time_t tleft)
|
/src/sys/arch/ews4800mips/stand/common/ |
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) 110 lance_eaddr(iodesc->myea); 114 ether_get(struct iodesc *iodesc, void *pkt, size_t len, saseconds_t timeout) 121 ether_put(struct iodesc *iodesc, void *pkt, size_t len [all...] |
/src/sys/arch/evbmips/stand/sbmips/netboot/ |
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) 105 cfenet_get(struct iodesc *desc, void *pkt, size_t len, saseconds_t timeout) 122 cfenet_init(struct iodesc *desc, void *machdep_hint)
|
/src/sys/arch/sbmips/stand/netboot/ |
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) 105 cfenet_get(struct iodesc *desc, void *pkt, size_t len, saseconds_t timeout) 122 cfenet_init(struct iodesc *desc, void *machdep_hint)
|
/src/sys/arch/x68k/stand/boot/ |
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) 98 ne_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timeout) 114 ne_put(struct iodesc *desc, void *pkt, size_t len)
|
/src/sys/arch/vax/boot/boot/ |
netio.c | 93 static struct iodesc desc; 96 struct iodesc * 105 struct iodesc *s; 173 netif_put(struct iodesc *desc, void *pkt, size_t len) 180 netif_get(struct iodesc *desc, void *pkt, size_t len, saseconds_t timo)
|
/src/sys/arch/cobalt/stand/boot/ |
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) 106 tlp_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timeout) 126 tlp_put(struct iodesc *desc, void *pkt, size_t len)
|
/src/sys/arch/evbarm/stand/boot2440/ |
netif.c | 38 #include <lib/libsa/iodesc.h> 64 static struct iodesc netdesc; 98 struct iodesc *s; 139 netif_put(struct iodesc *desc, void *pkt, size_t len) 148 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) 157 struct iodesc*
|
/src/sys/arch/macppc/stand/ofwboot/ |
netif_of.c | 59 static struct iodesc sdesc; 61 struct iodesc * 72 struct iodesc *io; 107 struct iodesc *io; 133 netif_put(struct iodesc *desc, void *pkt, size_t len) 180 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo)
|
/src/sys/arch/newsmips/stand/boot/ |
netif_news.c | 56 static struct iodesc sdesc; 58 struct iodesc * 70 struct iodesc *io; 94 struct iodesc *io; 105 netif_put(struct iodesc *desc, void *pkt, size_t len) 149 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo)
|
/src/sys/arch/ofppc/stand/ofwboot/ |
netif_of.c | 59 static struct iodesc sdesc; 61 struct iodesc * 72 struct iodesc *io; 103 struct iodesc *io; 129 netif_put(struct iodesc *desc, void *pkt, size_t len) 172 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo)
|
/src/sys/arch/shark/stand/ofwboot/ |
netif_of.c | 59 static struct iodesc sdesc; 61 struct iodesc * 72 struct iodesc *io; 103 struct iodesc *io; 129 netif_put(struct iodesc *desc, void *pkt, size_t len) 172 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo)
|
/src/sys/arch/sandpoint/stand/altboot/ |
nif.c | 54 static struct iodesc netdesc; 69 struct iodesc *s; 133 netif_put(struct iodesc *desc, void *pkt, size_t len) 145 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo) 156 struct iodesc *
|
/src/sys/arch/hpcmips/stand/lcboot/ |
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) 194 cs_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) 232 cs_put(struct iodesc *desc, void *pkt, size_t len)
|
/src/sys/arch/mvmeppc/stand/libsa/ |
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) 140 bug_get(struct iodesc *desc, void *pkt, size_t len, saseconds_t timeout) 169 bug_put(struct iodesc *desc, void *pkt, size_t len)
|
/src/sys/arch/sparc/stand/common/ |
netif_sun.c | 57 struct iodesc sockets[SOPEN_MAX]; 59 struct iodesc * 73 struct iodesc *io; 108 struct iodesc *io; 130 netif_put(struct iodesc *desc, void *pkt, size_t len) 174 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo)
|
/src/sys/arch/sparc/stand/ofwboot/ |
netif_of.c | 61 struct iodesc sockets[SOPEN_MAX]; 63 struct iodesc * 75 struct iodesc *io; 107 struct iodesc *io; 138 netif_put(struct iodesc *desc, void *pkt, size_t len) 184 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, saseconds_t timo)
|