Blame view

arch/um/drivers/daemon.h 500 Bytes
cd1ae0e49   Jeff Dike   uml: network form...
1
2
  /*
   * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
3
4
   * Licensed under the GPL
   */
cd1ae0e49   Jeff Dike   uml: network form...
5
6
  #ifndef __DAEMON_H__
  #define __DAEMON_H__
37185b332   Al Viro   um: get rid of po...
7
  #include <net_user.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
8
9
10
11
12
13
14
15
16
17
18
19
20
  
  #define SWITCH_VERSION 3
  
  struct daemon_data {
  	char *sock_type;
  	char *ctl_sock;
  	void *ctl_addr;
  	void *data_addr;
  	void *local_addr;
  	int fd;
  	int control;
  	void *dev;
  };
5e7672ec3   Jeff Dike   [PATCH] uml: cons...
21
  extern const struct net_user_info daemon_user_info;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
22

cd1ae0e49   Jeff Dike   uml: network form...
23
  extern int daemon_user_write(int fd, void *buf, int len,
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
24
  			     struct daemon_data *pri);
cd1ae0e49   Jeff Dike   uml: network form...
25
  #endif