ping() integrated

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@872 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-09-03 16:14:00 +00:00
parent 9e16305afd
commit d57bd6fd56
10 changed files with 105 additions and 31 deletions
+7 -1
View File
@@ -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 */