MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sctp_find_sharedkey

Function sctp_find_sharedkey

freebsd/netinet/sctp_auth.c:487–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487sctp_sharedkey_t *
488sctp_find_sharedkey(struct sctp_keyhead *shared_keys, uint16_t key_id)
489{
490 sctp_sharedkey_t *skey;
491
492 LIST_FOREACH(skey, shared_keys, next) {
493 if (skey->keyid == key_id)
494 return (skey);
495 }
496 return (NULL);
497}
498
499int
500sctp_insert_sharedkey(struct sctp_keyhead *shared_keys,

Callers 10

sctp_auth_key_acquireFunction · 0.85
sctp_auth_key_releaseFunction · 0.85
sctp_delete_sharedkeyFunction · 0.85
sctp_delete_sharedkey_epFunction · 0.85
sctp_auth_setactivekeyFunction · 0.85
sctp_deact_sharedkeyFunction · 0.85
sctp_deact_sharedkey_epFunction · 0.85
sctp_fill_hmac_digest_mFunction · 0.85
sctp_handle_authFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected