chiark / gitweb /
tuntap
[chiark-tcl.git] / 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)
@@ -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
  * 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 */
 
-extern const IdDataSpec tuntap_socks;
+extern const IdDataSpec cht_tuntap_socks;
 
+#endif /*TUNTAPTCL_H*/