blob: bb0dab41c2e43a464f5e7dbfe15c28aca84a197c [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
15extern struct net_user_info slip_user_info;
16
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