1*dbddf429SAlex Dewar /* SPDX-License-Identifier: GPL-2.0 */ 24ff4d8d3SNolan Leake /* 34ff4d8d3SNolan Leake * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 44ff4d8d3SNolan Leake */ 54ff4d8d3SNolan Leake 64ff4d8d3SNolan Leake #ifndef __DRIVERS_UMCAST_H 74ff4d8d3SNolan Leake #define __DRIVERS_UMCAST_H 84ff4d8d3SNolan Leake 937185b33SAl Viro #include <net_user.h> 104ff4d8d3SNolan Leake 114ff4d8d3SNolan Leake struct umcast_data { 124ff4d8d3SNolan Leake char *addr; 134ff4d8d3SNolan Leake unsigned short lport; 144ff4d8d3SNolan Leake unsigned short rport; 154ff4d8d3SNolan Leake void *listen_addr; 164ff4d8d3SNolan Leake void *remote_addr; 174ff4d8d3SNolan Leake int ttl; 184ff4d8d3SNolan Leake int unicast; 194ff4d8d3SNolan Leake void *dev; 204ff4d8d3SNolan Leake }; 214ff4d8d3SNolan Leake 224ff4d8d3SNolan Leake extern const struct net_user_info umcast_user_info; 234ff4d8d3SNolan Leake 244ff4d8d3SNolan Leake extern int umcast_user_write(int fd, void *buf, int len, 254ff4d8d3SNolan Leake struct umcast_data *pri); 264ff4d8d3SNolan Leake 274ff4d8d3SNolan Leake #endif 28