/[lwip]/lwip/src/include/lwip/tcp.h
ViewVC logotype

Diff of /lwip/src/include/lwip/tcp.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by kieranm, Sun Sep 12 16:34:06 2004 UTC revision 1.29 by likewise, Thu Oct 14 12:24:52 2004 UTC
# Line 114  void             tcp_rexmit_rto  (struct Line 114  void             tcp_rexmit_rto  (struct
114  #define TCP_SEQ_GT(a,b)     ((s32_t)((a)-(b)) > 0)  #define TCP_SEQ_GT(a,b)     ((s32_t)((a)-(b)) > 0)
115  #define TCP_SEQ_GEQ(a,b)    ((s32_t)((a)-(b)) >= 0)  #define TCP_SEQ_GEQ(a,b)    ((s32_t)((a)-(b)) >= 0)
116  /* is b<=a<=c? */  /* is b<=a<=c? */
117    #if 0 /* see bug #10548 */
118  #define TCP_SEQ_BETWEEN(a,b,c) ((c)-(b) >= (a)-(b))  #define TCP_SEQ_BETWEEN(a,b,c) ((c)-(b) >= (a)-(b))
119    #endif
120    #define TCP_SEQ_BETWEEN(a,b,c) (TCP_SEQ_GEQ(a,b) && TCP_SEQ_LEQ(a,c))
121  #define TCP_FIN 0x01U  #define TCP_FIN 0x01U
122  #define TCP_SYN 0x02U  #define TCP_SYN 0x02U
123  #define TCP_RST 0x04U  #define TCP_RST 0x04U

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26