projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3bc45f
)
-fix tcp header definition
author
Christian Grothoff
<christian@grothoff.org>
Thu, 26 Jan 2012 18:29:59 +0000
(18:29 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 26 Jan 2012 18:29:59 +0000
(18:29 +0000)
src/include/gnunet_tun_lib.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_tun_lib.h
b/src/include/gnunet_tun_lib.h
index b02c6c02ea434cf084113501a43fe599cb5f54a1..2a66b67e79126f01d2aff534a263aa77d6d7aa14 100644
(file)
--- a/
src/include/gnunet_tun_lib.h
+++ b/
src/include/gnunet_tun_lib.h
@@
-111,11
+111,23
@@
struct GNUNET_TUN_TcpHeader
unsigned dpt:16 GNUNET_PACKED;
unsigned seq:32 GNUNET_PACKED;
unsigned ack:32 GNUNET_PACKED;
- unsigned off:4 GNUNET_PACKED;
+ /**
+ * Reserved.
+ */
unsigned rsv:4 GNUNET_PACKED;
+ /**
+ * Number of 32-bit words in TCP header.
+ */
+ unsigned off:4 GNUNET_PACKED;
unsigned flg:8 GNUNET_PACKED;
+ /**
+ * Window size.
+ */
unsigned wsz:16 GNUNET_PACKED;
unsigned crc:16 GNUNET_PACKED;
+ /**
+ * Urgent pointer.
+ */
unsigned urg:16 GNUNET_PACKED;
};