License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / um / drivers / slip.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef __UM_SLIP_H
3#define __UM_SLIP_H
4
a3c77c67 5#include "slip_common.h"
1da177e4
LT
6
7struct slip_data {
8 void *dev;
9 char name[sizeof("slnnnnn\0")];
10 char *addr;
11 char *gate_addr;
12 int slave;
a3c77c67 13 struct slip_proto slip;
1da177e4
LT
14};
15
5e7672ec 16extern const struct net_user_info slip_user_info;
1da177e4 17
1da177e4
LT
18extern 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