Go to the source code of this file.
|
enum | pcp_flow_state_e {
pfs_any = -1
, pfs_idle = 0
, pfs_wait_for_server_init = 1
, pfs_send = 2
,
pfs_wait_resp = 3
, pfs_wait_after_short_life_error = 4
, pfs_wait_for_lifetime_renew = 5
, pfs_send_renew = 6
,
pfs_failed = 7
} |
|
enum | pcp_event_e { pcpe_any
, pcpe_timeout
, pcpe_io_event
, pcpe_terminate
} |
|
enum | pcp_flow_event_e {
fev_flow_timedout
, fev_server_initialized
, fev_send
, fev_msg_sent
,
fev_failed
, fev_none
, fev_server_restarted
, fev_ignored
,
FEV_RES_BEGIN
, fev_res_success = FEV_RES_BEGIN + PCP_RES_SUCCESS
, fev_res_unsupp_version = FEV_RES_BEGIN + PCP_RES_UNSUPP_VERSION
, fev_res_not_authorized = FEV_RES_BEGIN + PCP_RES_NOT_AUTHORIZED
,
fev_res_malformed_request = FEV_RES_BEGIN + PCP_RES_MALFORMED_REQUEST
, fev_res_unsupp_opcode = FEV_RES_BEGIN + PCP_RES_UNSUPP_OPCODE
, fev_res_unsupp_option = FEV_RES_BEGIN + PCP_RES_UNSUPP_OPTION
, fev_res_malformed_option = FEV_RES_BEGIN + PCP_RES_MALFORMED_OPTION
,
fev_res_network_failure = FEV_RES_BEGIN + PCP_RES_NETWORK_FAILURE
, fev_res_no_resources = FEV_RES_BEGIN + PCP_RES_NO_RESOURCES
, fev_res_unsupp_protocol = FEV_RES_BEGIN + PCP_RES_UNSUPP_PROTOCOL
, fev_res_user_ex_quota = FEV_RES_BEGIN + PCP_RES_USER_EX_QUOTA
,
fev_res_cant_provide_ext = FEV_RES_BEGIN + PCP_RES_CANNOT_PROVIDE_EXTERNAL
, fev_res_address_mismatch = FEV_RES_BEGIN + PCP_RES_ADDRESS_MISMATCH
, fev_res_exc_remote_peers = FEV_RES_BEGIN + PCP_RES_EXCESSIVE_REMOTE_PEERS
} |
|
enum | pcp_server_state_e {
pss_any =-1
, pss_unitialized
, pss_allocated
, pss_ping
,
pss_wait_ping_resp
, pss_version_negotiation
, pss_send_all_msgs
, pss_wait_io
,
pss_wait_io_calc_nearest_timeout
, pss_server_restart
, pss_server_reping
, pss_set_not_working
,
pss_not_working
, PSS_COUNT
} |
|
◆ pcp_server_t
◆ pcp_event_e
Enumerator |
---|
pcpe_any | |
pcpe_timeout | |
pcpe_io_event | |
pcpe_terminate | |
Definition at line 43 of file pcp_event_handler.h.
◆ pcp_flow_event_e
Enumerator |
---|
fev_flow_timedout | |
fev_server_initialized | |
fev_send | |
fev_msg_sent | |
fev_failed | |
fev_none | |
fev_server_restarted | |
fev_ignored | |
FEV_RES_BEGIN | |
fev_res_success | |
fev_res_unsupp_version | |
fev_res_not_authorized | |
fev_res_malformed_request | |
fev_res_unsupp_opcode | |
fev_res_unsupp_option | |
fev_res_malformed_option | |
fev_res_network_failure | |
fev_res_no_resources | |
fev_res_unsupp_protocol | |
fev_res_user_ex_quota | |
fev_res_cant_provide_ext | |
fev_res_address_mismatch | |
fev_res_exc_remote_peers | |
Definition at line 47 of file pcp_event_handler.h.
◆ pcp_flow_state_e
Enumerator |
---|
pfs_any | |
pfs_idle | |
pfs_wait_for_server_init | |
pfs_send | |
pfs_wait_resp | |
pfs_wait_after_short_life_error | |
pfs_wait_for_lifetime_renew | |
pfs_send_renew | |
pfs_failed | |
Definition at line 31 of file pcp_event_handler.h.
◆ pcp_server_state_e
Enumerator |
---|
pss_any | |
pss_unitialized | |
pss_allocated | |
pss_ping | |
pss_wait_ping_resp | |
pss_version_negotiation | |
pss_send_all_msgs | |
pss_wait_io | |
pss_wait_io_calc_nearest_timeout | |
pss_server_restart | |
pss_server_reping | |
pss_set_not_working | |
pss_not_working | |
PSS_COUNT | |
Definition at line 73 of file pcp_event_handler.h.
◆ pcp_fd_change_notify()
◆ pcp_flow_updated()
◆ run_server_state_machine()