slip.h (a8b3e6f10f08f66ae1072efd087b30966a3654f6) slip.h (5e7672ec3f059f764fcc5c78216e24bb16c44dba)
1#ifndef __UM_SLIP_H
2#define __UM_SLIP_H
3
4#include "slip_common.h"
5
6struct slip_data {
7 void *dev;
8 char name[sizeof("slnnnnn\0")];
9 char *addr;
10 char *gate_addr;
11 int slave;
12 struct slip_proto slip;
13};
14
1#ifndef __UM_SLIP_H
2#define __UM_SLIP_H
3
4#include "slip_common.h"
5
6struct slip_data {
7 void *dev;
8 char name[sizeof("slnnnnn\0")];
9 char *addr;
10 char *gate_addr;
11 int slave;
12 struct slip_proto slip;
13};
14
15extern struct net_user_info slip_user_info;
15extern const struct net_user_info slip_user_info;
16
17extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri);
18extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri);
19
20#endif
16
17extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri);
18extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri);
19
20#endif