Lines Matching refs:phdr

1362 	struct sctp_paramhdr *phdr, tmp_param;  in sctp_auth_get_cookie_params()  local
1379 phdr = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_auth_get_cookie_params()
1381 while (phdr != NULL) { in sctp_auth_get_cookie_params()
1382 ptype = ntohs(phdr->param_type); in sctp_auth_get_cookie_params()
1383 plen = ntohs(phdr->param_length); in sctp_auth_get_cookie_params()
1392 phdr = sctp_get_next_param(m, offset, in sctp_auth_get_cookie_params()
1394 if (phdr == NULL) in sctp_auth_get_cookie_params()
1397 p_random = (struct sctp_auth_random *)phdr; in sctp_auth_get_cookie_params()
1405 phdr = sctp_get_next_param(m, offset, in sctp_auth_get_cookie_params()
1407 if (phdr == NULL) in sctp_auth_get_cookie_params()
1410 hmacs = (struct sctp_auth_hmac_algo *)phdr; in sctp_auth_get_cookie_params()
1427 phdr = sctp_get_next_param(m, offset, in sctp_auth_get_cookie_params()
1429 if (phdr == NULL) in sctp_auth_get_cookie_params()
1431 chunks = (struct sctp_auth_chunk_list *)phdr; 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() local
1776 phdr = sctp_get_next_param(m, offset, &param_buf, sizeof(param_buf)); in sctp_validate_init_auth_params()
1777 while (phdr) { in sctp_validate_init_auth_params()
1778 ptype = ntohs(phdr->param_type); in sctp_validate_init_auth_params()
1779 plen = ntohs(phdr->param_length); in sctp_validate_init_auth_params()
1796 phdr = sctp_get_next_param(m, offset, in sctp_validate_init_auth_params()
1799 if (phdr == NULL) { in sctp_validate_init_auth_params()
1802 pr_supported = (struct sctp_supported_chunk_types_param *)phdr; in sctp_validate_init_auth_params()
1832 phdr = sctp_get_next_param(m, offset, in sctp_validate_init_auth_params()
1835 if (phdr == NULL) { in sctp_validate_init_auth_params()
1838 hmacs = (struct sctp_auth_hmac_algo *)phdr; in sctp_validate_init_auth_params()
1855 phdr = sctp_get_next_param(m, offset, in sctp_validate_init_auth_params()
1858 if (phdr == NULL) { in sctp_validate_init_auth_params()
1865 chunks = (struct sctp_auth_chunk_list *)phdr; in sctp_validate_init_auth_params()
1882 phdr = sctp_get_next_param(m, offset, &param_buf, in sctp_validate_init_auth_params()