#include "def.h"
#include <pcap.h>
#include <pthread.h>
Go to the source code of this file.
Data Structures | |
| struct | bday_peer |
| struture to hold information pertaining to the birthday paradox More... | |
| struct | helper_conn |
| structure with helper connection info More... | |
| struct | peer_sock_desc |
| structure with all socket descriptors More... | |
| struct | peer_conn_info |
| structure with all the connection information More... | |
Defines | |
| #define | TTL_TOO_LOW 2 |
| macro for the TTL value that is too low to reach the buddy. In a complete implementation this value would be auto-detected. Here it is set to a known OK value. | |
| #define | TTL_OK 64 |
| macro for the TTL value that is high enough to reach the buddy | |
| #define | DIRECT_CONNECTION_TIMEOUT 180 |
| timeout time in seconds to wait for a direct connection flag | |
| #define | SYN_FLOOD_COUNT 502 |
| the number of SYNs to send in a SYN flood | |
| #define | SYN_ACK_FLOOD_COUNT 502 |
| the number of SYN/ACKs to send in a SYN/ACK flood | |
| #define | FIND_SYN_ACK_TIMEOUT 20 |
| time in seconds to timeout looking for a SYN/ACK flooded packet | |
Typedefs | |
| typedef bday_peer | bday_peer_t |
| typedef for the bday structure | |
| typedef helper_conn | helper_conn_t |
| typedef for the helper_conn structure | |
| typedef peer_sock_desc | peer_sock_desc_t |
| typedef for the peer_sock_desc structure | |
| typedef peer_conn_info | peer_conn_info_t |
| typedef for the peer_conn_info structure | |
Variables | |
| bday_peer | __packed__ |
| struture to hold information pertaining to the birthday paradox | |
Definition in file peerdef.h.
1.3.9.1