diff options
author | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-13 19:05:16 +0200 |
---|---|---|
committer | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-13 19:05:16 +0200 |
commit | 33e74904a7b7613a27603c4df96fe2387e2d0595 (patch) | |
tree | 3b4cac75cd110c278d1cb9acb0ad1d19acef55c1 /ip6t_MAP66.h | |
parent | 2ecea2cd11ea64e0e56be1ab413adbbd87b58bb3 (diff) | |
download | NPTv6-33e74904a7b7613a27603c4df96fe2387e2d0595.tar NPTv6-33e74904a7b7613a27603c4df96fe2387e2d0595.zip |
--unbalanced
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@24 3484d885-4da6-438d-b19d-107d078dd756
Diffstat (limited to 'ip6t_MAP66.h')
-rw-r--r-- | ip6t_MAP66.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ip6t_MAP66.h b/ip6t_MAP66.h index c3e124f..482ac8c 100644 --- a/ip6t_MAP66.h +++ b/ip6t_MAP66.h @@ -12,8 +12,8 @@ #define IP6T_MAP66_OPT_DST_TO 0x01 #define IP6T_MAP66_OPT_SRC_TO 0x02 -#define IP6T_MAP66_OPT_OFFSET 0x04 -#define IP6T_MAP66_OPT_NOCHECK 0x08 +#define IP6T_MAP66_OPT_NOCHECK 0x04 +#define IP6T_MAP66_OPT_UNBALANCED 0x08 struct ip6t_MAP66_info { struct in6_addr pfix_dst_to; /* The prefix to map destination addrs to */ @@ -22,7 +22,6 @@ struct ip6t_MAP66_info { struct in6_addr pfix_src_to; /* The prefix to map source addrs from */ u_int16_t pfix_src_len; /* Source addrs prefix length DIV 16 */ u_int16_t pfix_src_csum; /* Pre-calculated csum for source addrs */ - u_int16_t mapoffset; /* Offset in addrs for balanced csum change */ u_int16_t mapflags; /* Some flags */ }; |