diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-11-09 17:10:29 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-11-09 17:14:10 +0100 |
commit | c34723cfb980c6a8d957892cfd5466df44b50863 (patch) | |
tree | 682839cf75093bb77c43f95631ffc864b3fcf852 /src/fastd.h | |
parent | f5a723399dfc3969bdb712b22616721ec740f818 (diff) | |
download | fastd-c34723cfb980c6a8d957892cfd5466df44b50863.tar fastd-c34723cfb980c6a8d957892cfd5466df44b50863.zip |
Use a global ioctl socket
Based-on-patch-by: Julian Kornberger <jk+github@digineo.de>
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h index 1433509..7963505 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -325,6 +325,8 @@ struct fastd_context { int android_ctrl_sock_fd; /**< The unix domain socket for communicating with Android GUI */ #endif + int ioctl_sock; /**< The global ioctl socket */ + size_t n_socks; /**< The number of sockets in socks */ fastd_socket_t *socks; /**< Array of all sockets */ |