Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __UM_SLIP_H |
| 2 | #define __UM_SLIP_H |
| 3 | |
Jeff Dike | a3c77c6 | 2005-06-13 15:52:18 -0700 | [diff] [blame^] | 4 | #include "slip_common.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
| 6 | struct slip_data { |
| 7 | void *dev; |
| 8 | char name[sizeof("slnnnnn\0")]; |
| 9 | char *addr; |
| 10 | char *gate_addr; |
| 11 | int slave; |
Jeff Dike | a3c77c6 | 2005-06-13 15:52:18 -0700 | [diff] [blame^] | 12 | struct slip_proto slip; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | }; |
| 14 | |
| 15 | extern struct net_user_info slip_user_info; |
| 16 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri); |
| 18 | extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri); |
| 19 | |
| 20 | #endif |