blob: c64f8c61d2743bc7a75cfea4712a40a3063eb128 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __UM_SLIP_H
2#define __UM_SLIP_H
3
Jeff Dikea3c77c62005-06-13 15:52:18 -07004#include "slip_common.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
6struct slip_data {
7 void *dev;
8 char name[sizeof("slnnnnn\0")];
9 char *addr;
10 char *gate_addr;
11 int slave;
Jeff Dikea3c77c62005-06-13 15:52:18 -070012 struct slip_proto slip;
Linus Torvalds1da177e2005-04-16 15:20:36 -070013};
14
Jeff Dike5e7672e2006-09-27 01:50:33 -070015extern const struct net_user_info slip_user_info;
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
Linus Torvalds1da177e2005-04-16 15:20:36 -070017extern 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