Print this page
Try versioning as a new state

*** 116,126 **** SVP_CS_ERROR = 0x00, SVP_CS_INITIAL = 0x01, SVP_CS_CONNECTING = 0x02, SVP_CS_BACKOFF = 0x03, SVP_CS_ACTIVE = 0x04, ! SVP_CS_WINDDOWN = 0x05 } svp_conn_state_t; typedef enum svp_conn_error { SVP_CE_NONE = 0x00, SVP_CE_ASSOCIATE = 0x01, --- 116,127 ---- SVP_CS_ERROR = 0x00, SVP_CS_INITIAL = 0x01, SVP_CS_CONNECTING = 0x02, SVP_CS_BACKOFF = 0x03, SVP_CS_ACTIVE = 0x04, ! SVP_CS_WINDDOWN = 0x05, ! SVP_CS_VERSIONING = 0x06 } svp_conn_state_t; typedef enum svp_conn_error { SVP_CE_NONE = 0x00, SVP_CE_ASSOCIATE = 0x01,
*** 345,354 **** --- 346,356 ---- extern void svp_remote_reassign(svp_remote_t *, svp_conn_t *); extern void svp_remote_resolved(svp_remote_t *, struct addrinfo *); extern void svp_host_queue(svp_remote_t *); extern void svp_query_release(svp_query_t *); extern void svp_query_crc32(svp_req_t *, void *, size_t); + extern id_t svp_id_alloc(void); /* * Shootdown related */ extern void svp_remote_shootdown_vl3(svp_remote_t *, svp_log_vl3_t *,