blob: 0f3b7ca99465c40cc56663370b6c34699aa85251 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef __UM_SLIP_H
3#define __UM_SLIP_H
4
Jeff Dikea3c77c62005-06-13 15:52:18 -07005#include "slip_common.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
7struct slip_data {
8 void *dev;
9 char name[sizeof("slnnnnn\0")];
10 char *addr;
11 char *gate_addr;
12 int slave;
Jeff Dikea3c77c62005-06-13 15:52:18 -070013 struct slip_proto slip;
Linus Torvalds1da177e2005-04-16 15:20:36 -070014};
15
Jeff Dike5e7672e2006-09-27 01:50:33 -070016extern const struct net_user_info slip_user_info;
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
Linus Torvalds1da177e2005-04-16 15:20:36 -070018extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri);
19extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri);
20
21#endif