#include "errorcodes.h"
#include "peerdef.h"
Go to the source code of this file.
Functions | |
errorcode | capture_peer_to_buddy_syn (peer_conn_info_t *info) |
finds a syn sent from the peer to the buddy, and puts it into the correct location in the peer_conn_info_t structure | |
errorcode | capture_flooded_synack (peer_conn_info_t *info) |
finds a synack that was a part of a bday flood by the buddy |
Definition in file sniff.h.
|
finds a synack that was a part of a bday flood by the buddy
Definition at line 62 of file sniff.c. References tcp_packet_info::ack_flag, peer_conn_info::bday, bindSocket(), peer_sock_desc::buddy, peer_conn_info::buddy, CHECK_FAILED, CHECK_NOT_NULL, tcp_packet_info::d_addr, tcp_packet_info::d_port, DBG_BDAY, DEBUG, peer_conn_info::device, ERROR_1, ERROR_CALLED_FUNCTION, ERROR_NULL_ARG_1, errorcode, buddy_info::ext_ip, buddy_info::ext_port, find_tcp_packet(), init_packet_capture(), peer_info::ip, peer_conn_info::peer, peer_conn_info_t, bday_peer::port, bday_peer::port_set, tcp_packet_info::s_addr, tcp_packet_info::s_port, peer_conn_info::socks, bday_peer::stop_synack_find, tcp_packet_info::syn_flag, and tcp_packet_info_t. Referenced by run_find_synack(). |
|
finds a syn sent from the peer to the buddy, and puts it into the correct location in the peer_conn_info_t structure
Definition at line 32 of file sniff.c. References tcp_packet_info::ack_flag, peer_conn_info::buddy, peer_conn_info::buddy_syn, CHECK_FAILED, CHECK_NOT_NULL, tcp_packet_info::d_addr, tcp_packet_info::d_port, peer_conn_info::device, peer_conn_info::direct_conn_status, ERROR_1, ERROR_NULL_ARG_1, errorcode, buddy_info::ext_ip, buddy_info::ext_port, find_tcp_packet(), init_packet_capture(), peer_info::ip, peer_conn_info::peer, peer_conn_info_t, peer_info::port, tcp_packet_info::s_addr, tcp_packet_info::s_port, and tcp_packet_info::syn_flag. Referenced by peer_fsm_start_direct_conn(). |