aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-vpn-packet.h
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2010-10-03 17:24:27 +0000
committerPhilipp Tölke <toelke@in.tum.de>2010-10-03 17:24:27 +0000
commit5707a07a97bfabb31d964e8dc414dd8ac1175c2e (patch)
tree0cec0e64ebbe8855273600c62dd7ce19175233ed /src/vpn/gnunet-vpn-packet.h
parent12b9ea4eebe332f034e1de8bacfc688b6fc7f0d4 (diff)
downloadgnunet-5707a07a97bfabb31d964e8dc414dd8ac1175c2e.tar.gz
gnunet-5707a07a97bfabb31d964e8dc414dd8ac1175c2e.zip
I think I have not completely understood how this bitfield-stuff works.
Diffstat (limited to 'src/vpn/gnunet-vpn-packet.h')
-rw-r--r--src/vpn/gnunet-vpn-packet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vpn/gnunet-vpn-packet.h b/src/vpn/gnunet-vpn-packet.h
index 71908d10c..7eb1afe8c 100644
--- a/src/vpn/gnunet-vpn-packet.h
+++ b/src/vpn/gnunet-vpn-packet.h
@@ -22,8 +22,9 @@ struct ip6_hdr {
22}; 22};
23 23
24struct ip_hdr { 24struct ip_hdr {
25 unsigned version:4 GNUNET_PACKED;
26 unsigned hdr_lngth:4 GNUNET_PACKED; 25 unsigned hdr_lngth:4 GNUNET_PACKED;
26 unsigned version:4 GNUNET_PACKED;
27
27 unsigned diff_serv:8 GNUNET_PACKED; 28 unsigned diff_serv:8 GNUNET_PACKED;
28 unsigned tot_lngth:16 GNUNET_PACKED; 29 unsigned tot_lngth:16 GNUNET_PACKED;
29 30