1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 3 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@ 4 */ 5 6 #ifndef __DAEMON_H__ 7 #define __DAEMON_H__ 8 9 #include <net_user.h> 10 11 #define SWITCH_VERSION 3 12 13 struct daemon_data { 14 char *sock_type; 15 char *ctl_sock; 16 void *ctl_addr; 17 void *data_addr; 18 void *local_addr; 19 int fd; 20 int control; 21 void *dev; 22 }; 23 24 extern const struct net_user_info daemon_user_ 25 26 extern int daemon_user_write(int fd, void *buf 27 struct daemon_dat 28 29 #endif 30
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.