summaryrefslogtreecommitdiff
path: root/nuttx/include/net/uip
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-03 16:14:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-03 16:14:00 +0000
commit18c2739aa6486a0d6dd7f19a8ee36058f1d62674 (patch)
treec586a314141914ba8b9b672a729da373923ee4f0 /nuttx/include/net/uip
parent32082a46190ea27f7e958fce73167b3a368d7666 (diff)
downloadpx4-nuttx-18c2739aa6486a0d6dd7f19a8ee36058f1d62674.tar.gz
px4-nuttx-18c2739aa6486a0d6dd7f19a8ee36058f1d62674.tar.bz2
px4-nuttx-18c2739aa6486a0d6dd7f19a8ee36058f1d62674.zip
ping() integrated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@872 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/net/uip')
-rw-r--r--nuttx/include/net/uip/uip-tcp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/include/net/uip/uip-tcp.h b/nuttx/include/net/uip/uip-tcp.h
index e0d696981..e625e8865 100644
--- a/nuttx/include/net/uip/uip-tcp.h
+++ b/nuttx/include/net/uip/uip-tcp.h
@@ -91,7 +91,13 @@
#define UIP_TS_MASK 15
#define UIP_STOPPED 16
-/* Header sizes */
+/* Flag bits in 16-bit flags+ipoffset IPv4 TCP header field */
+
+#define UIP_TCPFLAG_RESERVED 0x8000
+#define UIP_TCPFLAG_DONTFRAG 0x4000
+#define UIP_TCPFLAG_MOREFRAGS 0x2000
+
+/* TCP header sizes */
#define UIP_TCPH_LEN 20 /* Size of TCP header */
#define UIP_IPTCPH_LEN (UIP_TCPH_LEN + UIP_IPH_LEN) /* Size of IP + TCP header */