2005-04-16 22:20:36 +00:00
|
|
|
#ifndef __UM_SLIP_H
|
|
|
|
#define __UM_SLIP_H
|
|
|
|
|
2005-06-13 22:52:18 +00:00
|
|
|
#include "slip_common.h"
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
struct slip_data {
|
|
|
|
void *dev;
|
|
|
|
char name[sizeof("slnnnnn\0")];
|
|
|
|
char *addr;
|
|
|
|
char *gate_addr;
|
|
|
|
int slave;
|
2005-06-13 22:52:18 +00:00
|
|
|
struct slip_proto slip;
|
2005-04-16 22:20:36 +00:00
|
|
|
};
|
|
|
|
|
2006-09-27 08:50:33 +00:00
|
|
|
extern const struct net_user_info slip_user_info;
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri);
|
|
|
|
extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri);
|
|
|
|
|
|
|
|
#endif
|