Merge tag 'locking-urgent-2020-08-15' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / um / drivers / umcast.h
blobfe39bee1e3bd60987851059c393af4bc460b65e3
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
4 */
6 #ifndef __DRIVERS_UMCAST_H
7 #define __DRIVERS_UMCAST_H
9 #include <net_user.h>
11 struct umcast_data {
12 char *addr;
13 unsigned short lport;
14 unsigned short rport;
15 void *listen_addr;
16 void *remote_addr;
17 int ttl;
18 int unicast;
19 void *dev;
22 extern const struct net_user_info umcast_user_info;
24 extern int umcast_user_write(int fd, void *buf, int len,
25 struct umcast_data *pri);
27 #endif