Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / um / drivers / daemon.h
CommitLineData
cd1ae0e4
JD
1/*
2 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
1da177e4
LT
3 * Licensed under the GPL
4 */
5
cd1ae0e4
JD
6#ifndef __DAEMON_H__
7#define __DAEMON_H__
8
1da177e4
LT
9#include "net_user.h"
10
11#define SWITCH_VERSION 3
12
13struct 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
5e7672ec 24extern const struct net_user_info daemon_user_info;
1da177e4 25
cd1ae0e4 26extern int daemon_user_write(int fd, void *buf, int len,
1da177e4
LT
27 struct daemon_data *pri);
28
cd1ae0e4 29#endif