Go to the source code of this file.
Data Structures | |
| struct | tcphdr |
Defines | |
| #define | TCP_INITIAL_TIMEOUT (3*TICKS_PER_SEC) |
| #define | TCP_MAX_TIMEOUT (60*TICKS_PER_SEC) |
| #define | TCP_MIN_TIMEOUT (TICKS_PER_SEC) |
| #define | TCP_MAX_RETRY 10 |
| #define | TCP_MAX_HEADER ((int)sizeof(struct iphdr)+64) |
| #define | TCP_MIN_WINDOW (1500-TCP_MAX_HEADER) |
| #define | TCP_MAX_WINDOW (65535-TCP_MAX_HEADER) |
| #define | FIN 1 |
| #define | SYN 2 |
| #define | RST 4 |
| #define | PSH 8 |
| #define | ACK 16 |
| #define | URG 32 |
Functions | |
| int | tcp_transaction (unsigned long destip, unsigned int destsock, void *ptr, int(*send)(int len, void *buf, void *ptr), int(*recv)(int len, const void *buf, void *ptr)) |
| int tcp_transaction | ( | unsigned long | destip, | |
| unsigned int | destsock, | |||
| void * | ptr, | |||
| int(*)(int len, void *buf, void *ptr) | send, | |||
| int(*)(int len, const void *buf, void *ptr) | recv | |||
| ) |
1.5.7.1