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

Function sctp_get_keylen

freebsd/netinet/sctp_auth.c:303–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303static uint32_t
304sctp_get_keylen(sctp_key_t *key)
305{
306 if (key != NULL)
307 return (key->keylen);
308 else
309 return (0);
310}
311
312/*
313 * generate a new random key of length 'keylen'

Callers 2

sctp_compare_keyFunction · 0.85
sctp_compute_hashkeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected