Lines Matching refs:sctp_paramhdr

1404 	struct sctp_paramhdr *phdr, tmp_param;  in sctp_auth_get_cookie_params()
1421 phdr = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_auth_get_cookie_params()
1422 sizeof(struct sctp_paramhdr), (uint8_t *) & tmp_param); in sctp_auth_get_cookie_params()
1434 (struct sctp_paramhdr *)random_store, min(plen, sizeof(random_store))); in sctp_auth_get_cookie_params()
1447 (struct sctp_paramhdr *)hmacs_store, min(plen, sizeof(hmacs_store))); in sctp_auth_get_cookie_params()
1469 (struct sctp_paramhdr *)chunks_store, min(plen, sizeof(chunks_store))); in sctp_auth_get_cookie_params()
1486 if (offset + sizeof(struct sctp_paramhdr) > length) in sctp_auth_get_cookie_params()
1488 phdr = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), in sctp_auth_get_cookie_params()
1815 struct sctp_paramhdr *phdr, parm_buf; in sctp_validate_init_auth_params()
1832 if (plen < sizeof(struct sctp_paramhdr)) { in sctp_validate_init_auth_params()
1842 (struct sctp_paramhdr *)&local_store, min(plen, sizeof(local_store))); in sctp_validate_init_auth_params()
1847 num_ent = plen - sizeof(struct sctp_paramhdr); in sctp_validate_init_auth_params()
1876 (struct sctp_paramhdr *)store, min(plen, sizeof(store))); in sctp_validate_init_auth_params()
1897 (struct sctp_paramhdr *)chunks_store, in sctp_validate_init_auth_params()
1983 keylen = (3 * sizeof(struct sctp_paramhdr)) + random_len + chunks_len + in sctp_initialize_auth_params()
1987 struct sctp_paramhdr *ph; in sctp_initialize_auth_params()
1991 ph = (struct sctp_paramhdr *)new_key->key; in sctp_initialize_auth_params()
2000 ph = (struct sctp_paramhdr *)(new_key->key + keylen); in sctp_initialize_auth_params()
2014 ph = (struct sctp_paramhdr *)(new_key->key + keylen); in sctp_initialize_auth_params()