aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-vpn-packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpn/gnunet-vpn-packet.h')
-rw-r--r--src/vpn/gnunet-vpn-packet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vpn/gnunet-vpn-packet.h b/src/vpn/gnunet-vpn-packet.h
index e2082f9a1..9cbbf1bb2 100644
--- a/src/vpn/gnunet-vpn-packet.h
+++ b/src/vpn/gnunet-vpn-packet.h
@@ -4,6 +4,8 @@
4#include "platform.h" 4#include "platform.h"
5#include "gnunet_common.h" 5#include "gnunet_common.h"
6 6
7GNUNET_NETWORK_STRUCT_BEGIN
8
7// Headers 9// Headers
8struct pkt_tun 10struct pkt_tun
9{ 11{
@@ -100,6 +102,7 @@ struct dns_static
100 uint16_t nscount GNUNET_PACKED; // number of authority-records 102 uint16_t nscount GNUNET_PACKED; // number of authority-records
101 uint16_t arcount GNUNET_PACKED; // number of additional records 103 uint16_t arcount GNUNET_PACKED; // number of additional records
102}; 104};
105GNUNET_NETWORK_STRUCT_END
103 106
104struct dns_pkt 107struct dns_pkt
105{ 108{
@@ -156,6 +159,8 @@ struct udp_dns
156 struct dns_pkt data; 159 struct dns_pkt data;
157}; 160};
158 161
162GNUNET_NETWORK_STRUCT_BEGIN
163
159// Complete Packets 164// Complete Packets
160struct tun_pkt 165struct tun_pkt
161{ 166{
@@ -246,5 +251,6 @@ struct ip_icmp
246 struct ip_hdr ip_hdr; 251 struct ip_hdr ip_hdr;
247 struct icmp_hdr icmp_hdr; 252 struct icmp_hdr icmp_hdr;
248}; 253};
254GNUNET_NETWORK_STRUCT_END
249 255
250#endif 256#endif