Lines Matching refs:sctp_paramhdr
657 …p_addr = (struct sctp_ipv6addr_param *)sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), (uin… in sctp_handle_asconf()
706 if (param_length <= sizeof(struct sctp_paramhdr)) { in sctp_handle_asconf()
1212 struct sctp_paramhdr *ph; in sctp_asconf_process_error()
1217 ph = (struct sctp_paramhdr *)(eh + 1); in sctp_asconf_process_error()
1229 if (htons(ph->param_length) + sizeof(struct sctp_paramhdr) > in sctp_asconf_process_error()
1413 if (param_length < sizeof(struct sctp_paramhdr)) { in sctp_handle_asconf_ack()
2434 struct sctp_paramhdr tmp_param, *ph; in sctp_process_initack_addresses()
2451 if ((offset + sizeof(struct sctp_paramhdr)) > length) { in sctp_process_initack_addresses()
2472 ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_process_initack_addresses()
2473 sizeof(struct sctp_paramhdr), (uint8_t *)&tmp_param); in sctp_process_initack_addresses()
2575 if ((offset + sizeof(struct sctp_paramhdr)) > length) in sctp_process_initack_addresses()
2577 ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_process_initack_addresses()
2578 sizeof(struct sctp_paramhdr), (uint8_t *)&tmp_param); in sctp_process_initack_addresses()
2591 struct sctp_paramhdr tmp_param, *ph; in sctp_addr_in_initack()
2617 if ((offset + sizeof(struct sctp_paramhdr)) > length) { in sctp_addr_in_initack()
2627 ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_addr_in_initack()
2628 sizeof(struct sctp_paramhdr), (uint8_t *)&tmp_param); in sctp_addr_in_initack()
2713 if (offset + sizeof(struct sctp_paramhdr) > length) in sctp_addr_in_initack()
2715 ph = (struct sctp_paramhdr *) in sctp_addr_in_initack()
2716 sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), in sctp_addr_in_initack()