Merge tag 'locking-urgent-2020-08-15' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / um / drivers / slip.h
blob0f3b7ca99465c40cc56663370b6c34699aa85251
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __UM_SLIP_H
3 #define __UM_SLIP_H
5 #include "slip_common.h"
7 struct slip_data {
8 void *dev;
9 char name[sizeof("slnnnnn\0")];
10 char *addr;
11 char *gate_addr;
12 int slave;
13 struct slip_proto slip;
16 extern const struct net_user_info slip_user_info;
18 extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri);
19 extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri);
21 #endif