summaryrefslogtreecommitdiff
path: root/src/openvpn/proto.h
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2013-01-10 17:54:01 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2013-01-10 17:54:01 +0100
commit9e3cceecfca10ef806f193ec41e0e0a44706c328 (patch)
tree7198ea4f45a8a88c0828acd4eb4afe817dbe23a7 /src/openvpn/proto.h
parent9abc160bcbe71cfa43952943c6dff41e8016c32f (diff)
Imported Upstream version 2.3.0upstream/2.3.0
Diffstat (limited to 'src/openvpn/proto.h')
-rw-r--r--src/openvpn/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvpn/proto.h b/src/openvpn/proto.h
index 8cd4ede..f91e787 100644
--- a/src/openvpn/proto.h
+++ b/src/openvpn/proto.h
@@ -219,10 +219,11 @@ struct ip_tcp_udp_hdr {
- sizeof(struct openvpn_tcphdr))
/*
- * If raw tunnel packet is IPv4, return true and increment
+ * If raw tunnel packet is IPv4 or IPv6, return true and increment
* buffer offset to start of IP header.
*/
bool is_ipv4 (int tunnel_type, struct buffer *buf);
+bool is_ipv6 (int tunnel_type, struct buffer *buf);
#ifdef PACKET_TRUNCATION_CHECK
void ipv4_packet_size_verify (const uint8_t *data,