summaryrefslogtreecommitdiffstats
path: root/package/siit/src/siit.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-07 12:50:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-07 12:50:15 +0000
commitfafaa38ae55cab486f2b929a131fe433ce180224 (patch)
tree25d7e19e357623b44714e2052228a7e05eb3ade7 /package/siit/src/siit.h
parent6f752c725a5b592dff8c17f0fe4e905de22b8112 (diff)
downloadmaster-31e0f0ae-fafaa38ae55cab486f2b929a131fe433ce180224.tar.gz
master-31e0f0ae-fafaa38ae55cab486f2b929a131fe433ce180224.tar.bz2
master-31e0f0ae-fafaa38ae55cab486f2b929a131fe433ce180224.zip
move a few unmaintained packages from trunk to /packages
SVN-Revision: 33634
Diffstat (limited to 'package/siit/src/siit.h')
-rw-r--r--package/siit/src/siit.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/package/siit/src/siit.h b/package/siit/src/siit.h
deleted file mode 100644
index 47cf77645f..0000000000
--- a/package/siit/src/siit.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * siit.h -- definitions for the SIIT module
- *
- *
- */
-
-/*
- * Constants
- */
-
-/* SIIT_ETH control the name of SIIT interface:
- * 0 - interface name is siit0,
- * 1 - interface name is ethX.
- */
-#define SIIT_ETH 0
-
-#define BUFF_SIZE 4096
-#define FRAG_BUFF_SIZE 1232 /* IPv6 max fragment size without IPv6 header
- * to fragmanet IPv4 if result IPv6 packet will be > 1280
- */
-
-#define TRANSLATED_PREFIX 0x0000ffff /* third byte in IPv4-translated addr prefix */
-#define MAPPED_PREFIX 0x0000ffff /* third byte in IPv4-mapped addr prefix */
-
-#define IP4_IP6_HDR_DIFF 20 /* diffirence between IPv4 and IPv6 headers */
-#define IP6_FRAGMENT_SIZE 8 /* size of Fragment Header */
-
-/* IPv6 header fields masks */
-#define IP6F_OFF_MASK 0xfff8 /* mask out offset from frag_off */
-#define IP6F_RESERVED_MASK 0x0006 /* reserved bits in frag_off */
-#define IP6F_MORE_FRAG 0x0001 /* more-fragments flag */
-
-
-
-/*
- * Macros to help debugging
- */
-
-#undef PDEBUG /* undef it, just in case */
-#ifdef SIIT_DEBUG
-# ifdef __KERNEL__
- /* This one if debugging is on, and kernel space */
-# define PDEBUG(fmt, args...) printk(KERN_DEBUG "siit: " fmt, ## args)
-# else
- /* This one for user space */
-# define PDEBUG(fmt, args...) fprintf(stderr, fmt, ## args)
-# endif
-#else
-# define PDEBUG(fmt, args...) /* not debugging: nothing */
-#endif
-
-#undef PDEBUGG
-#define PDEBUGG(fmt, args...)
-
-
-
-
-
-
-
-