struct _StunTransaction
{
- GTimeVal next_tick; /* next tick timestamp */
+ gint64 next_tick; /* next tick timestamp */
StunTimer timer;
uint8_t buffer[STUN_MAX_MESSAGE_SIZE_IPV6];
StunMessage message;
CandidateCheckPair *discovered_pair;
CandidateCheckPair *succeeded_pair;
guint64 priority;
- guint32 prflx_priority;
+ guint32 stun_priority;
GSList *stun_transactions; /* a list of ongoing stun requests */
};
conn_check_prune_socket (NiceAgent *agent, NiceStream *stream, NiceComponent *component,
NiceSocket *sock);
-guint32 ensure_unique_priority (NiceStream *stream, NiceComponent *component,
- guint32 priority);
void recalculate_pair_priorities (NiceAgent *agent);
+void conn_check_update_selected_pair (NiceAgent *agent,
+ NiceComponent *component, CandidateCheckPair *pair);
+void conn_check_update_check_list_state_for_ready (NiceAgent *agent,
+ NiceStream *stream, NiceComponent *component);
+void conn_check_unfreeze_related (NiceAgent *agent, CandidateCheckPair *pair);
+guint conn_check_stun_transactions_count (NiceAgent *agent);
+
#endif /*_NICE_CONNCHECK_H */