#include "def.h"
Go to the source code of this file.
Functions | |
int | natblaster_connect (ip_t helper_ip, port_t helper_port, ip_t peer_ip, port_t peer_port, ip_t buddy_ext_ip, ip_t buddy_int_ip, port_t buddy_int_port, char *device, flag_t random) |
the single function a peer must call to create a natblaster TCP connection |
Definition in file natblaster_peer.h.
|
the single function a peer must call to create a natblaster TCP connection
Definition at line 34 of file natblaster_peer.c. References peer_conn_info::bday, bindSocket(), peer_sock_desc::buddy, peer_conn_info::buddy, CHECK_FAILED, DBG_IP, DBG_PORT, DBG_VERBOSE, DEBUG, peer_conn_info::device, peer_conn_info::direct_conn_status, ERROR_1, ERROR_2, ERROR_3, ERROR_NO_DEV_FOUND, buddy_info::ext_ip, buddy_info::ext_port, buddy_info::ext_port_set, FAILED, findDevice(), FLAG_SET, peer_sock_desc::helper, peer_conn_info::helper, peer_conn_info::helper_conn, peer_sock_desc::helper_pred, buddy_info::identifier, buddy_info::int_ip, buddy_info::int_port, peer_info::ip, helper_info::ip, peer_conn_info::peer, peer_conn_info_t, peer_fsm_start(), helper_conn::persistent_port, peer_info::port, helper_info::port, PORT_ADD, helper_conn::prediction_port, peer_info::set, peer_conn_info::socks, and bday_peer::stop_synack_find. Referenced by main(). |