chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tuntap
[chiark-tcl.git]
/
tuntap
/
chiark_tcl_tuntap.h
diff --git
a/tuntap/tuntap.h
b/tuntap/chiark_tcl_tuntap.h
similarity index 68%
rename from
tuntap/tuntap.h
rename to
tuntap/chiark_tcl_tuntap.h
index a17e22815ce82fc49a3b78e6792ff32434a33f82..d548f10943737209f063e17a6f10f4226655ada7 100644
(file)
--- a/
tuntap/tuntap.h
+++ b/
tuntap/chiark_tcl_tuntap.h
@@
-1,5
+1,5
@@
/*
/*
- * tuntap - Tcl
extension for tun/tap network device
+ * tuntap - Tcl
bindings for tun/tap userspace network interfaces
* Copyright 2006 Ian Jackson
*
* This program is free software; you can redistribute it and/or
* Copyright 2006 Ian Jackson
*
* This program is free software; you can redistribute it and/or
@@
-18,8
+18,21
@@
* 02110-1301, USA.
*/
* 02110-1301, USA.
*/
+#ifndef TUNTAPTCL_H
+#define TUNTAPTCL_H
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/ioctl.h>
+#include <linux/if.h>
+#include <linux/if_tun.h>
+
+#include "hbytes.h"
+#include "dgram.h"
+#include "tuntap+tcmdif.h"
/* from tuntap.c */
/* from tuntap.c */
-extern const IdDataSpec tuntap_socks;
+extern const IdDataSpec
cht_
tuntap_socks;
+#endif /*TUNTAPTCL_H*/