2 server/ip/gen/tcp_hdr.h
5 #ifndef __SERVER__IP__GEN__TCP_HDR_H__
6 #define __SERVER__IP__GEN__TCP_HDR_H__
21 #define TH_DO_MASK 0xf0
23 #define TH_FLAGS_MASK 0x3f
31 typedef struct tcp_hdropt
34 u8_t tho_data
[TCP_MAX_HDR_SIZE
-TCP_MIN_HDR_SIZE
];
40 #define TCP_OPT_WSOPT 3 /* RFC-1323, window scale option */
41 #define TCP_OPT_SACKOK 4 /* RFC-2018, SACK permitted */
42 #define TCP_OPT_TS 8 /* RFC-1323, Timestamps option */
43 #define TCP_OPT_CCNEW 12 /* RFC-1644, new connection count */
45 #endif /* __SERVER__IP__GEN__TCP_HDR_H__ */
48 * $PchId: tcp_hdr.h,v 1.4 2002/06/10 07:12:22 philip Exp $