chiark / gitweb /
test-load targets: Use strip to sanitise whitespace in OTHER_DIRS so that the subst...
[chiark-tcl.git] / tuntap / chiark_tcl_tuntap.h
1 /*
2  * tuntap - Tcl bindings for tun/tap userspace network interfaces
3  * Copyright 2006-2012 Ian Jackson
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of the
8  * License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this library; if not, see <http://www.gnu.org/licenses/>.
17  */
18
19 #ifndef TUNTAPTCL_H
20 #define TUNTAPTCL_H
21
22 #include <sys/types.h>
23 #include <sys/socket.h>
24 #include <sys/ioctl.h>
25
26 #include <net/if.h>
27 #include <linux/if_tun.h>
28
29 #include "hbytes.h"
30 #include "dgram.h"
31 #include "tuntap+tcmdif.h"
32
33 /* from tuntap.c */
34
35 extern const IdDataSpec cht_tuntap_socks;
36
37 #endif /*TUNTAPTCL_H*/