Lines Matching refs:sctp_paramhdr
1362 struct sctp_paramhdr *phdr, tmp_param; in sctp_auth_get_cookie_params()
1379 phdr = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_auth_get_cookie_params()
1380 sizeof(struct sctp_paramhdr), (uint8_t *)&tmp_param); in sctp_auth_get_cookie_params()
1385 if ((plen < sizeof(struct sctp_paramhdr)) || in sctp_auth_get_cookie_params()
1393 (struct sctp_paramhdr *)random_store, plen); in sctp_auth_get_cookie_params()
1406 (struct sctp_paramhdr *)hmacs_store, plen); in sctp_auth_get_cookie_params()
1428 (struct sctp_paramhdr *)chunks_store, plen); in sctp_auth_get_cookie_params()
1445 if (offset + sizeof(struct sctp_paramhdr) > length) in sctp_auth_get_cookie_params()
1447 phdr = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), in sctp_auth_get_cookie_params()
1767 struct sctp_paramhdr *phdr, param_buf; in sctp_validate_init_auth_params()
1784 if (plen < sizeof(struct sctp_paramhdr)) { in sctp_validate_init_auth_params()
1797 (struct sctp_paramhdr *)&local_store, in sctp_validate_init_auth_params()
1803 num_ent = plen - sizeof(struct sctp_paramhdr); in sctp_validate_init_auth_params()
1833 (struct sctp_paramhdr *)store, in sctp_validate_init_auth_params()
1856 (struct sctp_paramhdr *)chunks_store, in sctp_validate_init_auth_params()
1942 keylen = (3 * sizeof(struct sctp_paramhdr)) + random_len + chunks_len + in sctp_initialize_auth_params()
1946 struct sctp_paramhdr *ph; in sctp_initialize_auth_params()
1950 ph = (struct sctp_paramhdr *)new_key->key; in sctp_initialize_auth_params()
1959 ph = (struct sctp_paramhdr *)(new_key->key + keylen); in sctp_initialize_auth_params()
1974 ph = (struct sctp_paramhdr *)(new_key->key + keylen); in sctp_initialize_auth_params()