Linux Audio

Check our new training course

Loading...
v5.9
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __UM_SLIP_H
 3#define __UM_SLIP_H
 4
 5#include "slip_common.h"
 6
 7struct 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;
14};
15
16extern const struct net_user_info slip_user_info;
17
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
v3.15
 
 1#ifndef __UM_SLIP_H
 2#define __UM_SLIP_H
 3
 4#include "slip_common.h"
 5
 6struct slip_data {
 7	void *dev;
 8	char name[sizeof("slnnnnn\0")];
 9	char *addr;
10	char *gate_addr;
11	int slave;
12	struct slip_proto slip;
13};
14
15extern const struct net_user_info slip_user_info;
16
17extern 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