aboutsummaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2010-01-07 14:51:40 +0100
committerGert Doering <gert@greenie.muc.de>2011-04-24 17:22:34 +0200
commit512cda46b0f65f388e24436cd28d44bdc90fe985 (patch)
treed01771bcd3b7e6640a06235e270145626e6f504e /proto.h
parentUpdate man page with info about --connect-timeout (diff)
downloadopenvpn-512cda46b0f65f388e24436cd28d44bdc90fe985.tar.xz
Enable IPv6 Payload in OpenVPN p2mp tun server mode. 20100104-1 release.
(cherry picked from commit ec9dce6387afd198881493bfebf13bb121e8a56b)
Diffstat (limited to '')
-rw-r--r--proto.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 55f0832..b8e8997 100644
--- a/proto.h
+++ b/proto.h
@@ -108,6 +108,21 @@ struct openvpn_iphdr {
};
/*
+ * IPv6 header
+ */
+struct openvpn_ipv6hdr {
+ uint8_t version_prio;
+ uint8_t flow_lbl[3];
+ uint16_t payload_len;
+ uint8_t nexthdr;
+ uint8_t hop_limit;
+
+ struct in6_addr saddr;
+ struct in6_addr daddr;
+};
+
+
+/*
* UDP header
*/
struct openvpn_udphdr {