Home
last modified time | relevance | path

Searched refs:shmac (Results 1 – 1 of 1) sorted by relevance

/src/sys/netinet/
H A Dsctp_usrreq.c2844 struct sctp_hmacalgo *shmac; local
2849 SCTP_CHECK_AND_CAST(shmac, optval, struct sctp_hmacalgo, *optsize);
2855 *optsize = sizeof(*shmac);
2860 size = sizeof(*shmac) + (hmaclist->num_algo *
2861 sizeof(shmac->shmac_idents[0]));
2869 shmac->shmac_number_of_idents = hmaclist->num_algo;
2871 shmac->shmac_idents[i] = hmaclist->hmac[i];
4393 struct sctp_hmacalgo *shmac; local
4398 SCTP_CHECK_AND_CAST(shmac, optval, struct sctp_hmacalgo, optsize);
4399 … if ((optsize < sizeof(struct sctp_hmacalgo) + shmac->shmac_number_of_idents * sizeof(uint16_t)) ||
[all …]