From 512cda46b0f65f388e24436cd28d44bdc90fe985 Mon Sep 17 00:00:00 2001 From: Gert Doering Date: Thu, 7 Jan 2010 14:51:40 +0100 Subject: Enable IPv6 Payload in OpenVPN p2mp tun server mode. 20100104-1 release. (cherry picked from commit ec9dce6387afd198881493bfebf13bb121e8a56b) --- proto.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'proto.h') diff --git a/proto.h b/proto.h index 55f0832..b8e8997 100644 --- a/proto.h +++ b/proto.h @@ -107,6 +107,21 @@ struct openvpn_iphdr { /*The options start here. */ }; +/* + * 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 */ -- cgit v1.2.3