mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user