pub unsafe extern "C" fn dtls_get_peer(
context: *const dtls_context_t,
session: *const session_t,
) -> *mut dtls_peer_tExpand description
Check if @p session is associated with a peer object in @p context. This function returns a pointer to the peer if found, NULL otherwise.
@param context The DTLS context to search. @param session The remote address and local interface @return A pointer to the peer associated with @p session or NULL if none exists.