4 #define TCP_INITIAL_TIMEOUT (3*TICKS_PER_SEC)
5 #define TCP_MAX_TIMEOUT (60*TICKS_PER_SEC)
6 #define TCP_MIN_TIMEOUT (TICKS_PER_SEC)
7 #define TCP_MAX_RETRY 10
8 #define TCP_MAX_HEADER ((int)sizeof(struct iphdr)+64)
9 #define TCP_MIN_WINDOW (1500-TCP_MAX_HEADER)
10 #define TCP_MAX_WINDOW (65535-TCP_MAX_HEADER)
31 extern int tcp_transaction ( unsigned long destip
, unsigned int destsock
,
33 int (*send
)(int len
, void *buf
, void *ptr
),
34 int (*recv
)(int len
, const void *buf
, void *ptr
));