Refactoring timeout functions, change functions name and add timeout handler
into session.
This commit is contained in:
@ -17,7 +17,7 @@ void wtp_free_discovery_response_array(void);
|
||||
int wtp_bio_send(struct capwap_dtls* dtls, char* buffer, int length, void* param);
|
||||
|
||||
/* */
|
||||
void wtp_teardown_connection(struct timeout_control* timeout);
|
||||
void wtp_teardown_connection(void);
|
||||
|
||||
/* */
|
||||
void wtp_free_packet_rxmng(int isctrlmsg);
|
||||
@ -29,24 +29,24 @@ int wtp_dfa_running(void);
|
||||
void wtp_dfa_change_state(int state);
|
||||
|
||||
/* */
|
||||
void wtp_start_dtlssetup(struct timeout_control* timeout);
|
||||
void wtp_start_datachannel(struct timeout_control* timeout);
|
||||
void wtp_start_dtlssetup(void);
|
||||
void wtp_start_datachannel(void);
|
||||
|
||||
/* */
|
||||
void wtp_send_join(struct timeout_control* timeout);
|
||||
void wtp_send_configure(struct timeout_control* timeout);
|
||||
void wtp_send_datacheck(struct timeout_control* timeout);
|
||||
void wtp_send_join(void);
|
||||
void wtp_send_configure(void);
|
||||
void wtp_send_datacheck(void);
|
||||
|
||||
/* */
|
||||
void wtp_dfa_state_idle(struct capwap_parsed_packet* packet, struct timeout_control* timeout);
|
||||
void wtp_dfa_state_discovery(struct capwap_parsed_packet* packet, struct timeout_control* timeout);
|
||||
void wtp_dfa_state_dtlsteardown(struct capwap_parsed_packet* packet, struct timeout_control* timeout);
|
||||
void wtp_dfa_state_sulking(struct capwap_parsed_packet* packet, struct timeout_control* timeout);
|
||||
void wtp_dfa_state_join(struct capwap_parsed_packet* packet, struct timeout_control* timeout);
|
||||
void wtp_dfa_state_configure(struct capwap_parsed_packet* packet, struct timeout_control* timeout);
|
||||
void wtp_dfa_state_datacheck(struct capwap_parsed_packet* packet, struct timeout_control* timeout);
|
||||
void wtp_dfa_state_run(struct capwap_parsed_packet* packet, struct timeout_control* timeout);
|
||||
void wtp_dfa_state_reset(struct capwap_parsed_packet* packet, struct timeout_control* timeout);
|
||||
void wtp_dfa_state_idle(struct capwap_parsed_packet* packet);
|
||||
void wtp_dfa_state_discovery(struct capwap_parsed_packet* packet);
|
||||
void wtp_dfa_state_dtlsteardown(struct capwap_parsed_packet* packet);
|
||||
void wtp_dfa_state_sulking(struct capwap_parsed_packet* packet);
|
||||
void wtp_dfa_state_join(struct capwap_parsed_packet* packet);
|
||||
void wtp_dfa_state_configure(struct capwap_parsed_packet* packet);
|
||||
void wtp_dfa_state_datacheck(struct capwap_parsed_packet* packet);
|
||||
void wtp_dfa_state_run(struct capwap_parsed_packet* packet);
|
||||
void wtp_dfa_state_reset(struct capwap_parsed_packet* packet);
|
||||
|
||||
/* */
|
||||
void wtp_send_data_wireless_packet(uint8_t radioid, uint8_t wlanid, const struct ieee80211_header_mgmt* mgmt, int mgmtlength, int leavenativeframe);
|
||||
|
Reference in New Issue
Block a user