summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand/libsa/netif.h
blob: 680eed00f635b1e25e81bd83ee3b850004086cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#include "iodesc.h"

struct netif {
	void *devdata;
};

ssize_t		netif_get __P((struct iodesc *, void *, size_t, time_t));
ssize_t		netif_put __P((struct iodesc *, void *, size_t));

int		netif_open __P((void *));
int		netif_close __P((int));

struct iodesc	*socktodesc __P((int));

void	le_end __P((struct netif *));
void	le_error __P((struct netif *, char *, volatile void *)); 
int	le_get __P((struct iodesc *, void *, int, time_t));
void	*le_init __P((struct iodesc *));
int	le_poll __P((struct iodesc *, void *, int));
int	le_put __P((struct iodesc *, void *, int));
void	le_reset __P((struct netif *, u_char *));