Lines Matching refs:sctp_paramhdr
152 struct sctp_paramhdr *ph; in sctp_process_asconf_add_ip()
175 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_process_asconf_add_ip()
306 struct sctp_paramhdr *ph; in sctp_process_asconf_delete_ip()
329 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_process_asconf_delete_ip()
441 struct sctp_paramhdr *ph; in sctp_process_asconf_set_primary()
463 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_process_asconf_set_primary()
675 …p_addr = (struct sctp_ipv6addr_param *)sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), (uin… in sctp_handle_asconf()
709 if (param_length <= sizeof(struct sctp_paramhdr)) { in sctp_handle_asconf()
871 sctp_addr_match(struct sctp_paramhdr *ph, struct sockaddr *sa) in sctp_addr_match()
1541 struct sctp_paramhdr *ph; in sctp_asconf_process_error()
1546 ph = (struct sctp_paramhdr *)(eh + 1); in sctp_asconf_process_error()
1555 if (htons(ph->param_length) + sizeof(struct sctp_paramhdr) > in sctp_asconf_process_error()
1713 if (param_length < sizeof(struct sctp_paramhdr)) { in sctp_handle_asconf_ack()
2350 struct sctp_paramhdr *ph; in sctp_is_addr_pending()
2365 …ph = (struct sctp_paramhdr *)sctp_m_getptr(chk->data, offset, sizeof(struct sctp_paramhdr), aparam… in sctp_is_addr_pending()
2390 if (param_length <= sizeof(struct sctp_paramhdr)) { in sctp_is_addr_pending()
2399 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_is_addr_pending()
2765 struct sctp_paramhdr tmp_param, *ph; in sctp_process_initack_addresses()
2786 if ((offset + sizeof(struct sctp_paramhdr)) > length) { in sctp_process_initack_addresses()
2790 ph = (struct sctp_paramhdr *) in sctp_process_initack_addresses()
2791 sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), in sctp_process_initack_addresses()
2886 if ((offset + sizeof(struct sctp_paramhdr)) > length) in sctp_process_initack_addresses()
2888 ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_process_initack_addresses()
2889 sizeof(struct sctp_paramhdr), (uint8_t *) & tmp_param); in sctp_process_initack_addresses()
2901 struct sctp_paramhdr tmp_param, *ph; in sctp_addr_in_initack()
2936 if ((offset + sizeof(struct sctp_paramhdr)) > length) { in sctp_addr_in_initack()
2942 ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_addr_in_initack()
2943 sizeof(struct sctp_paramhdr), (uint8_t *) & tmp_param); in sctp_addr_in_initack()
3006 if (offset + sizeof(struct sctp_paramhdr) > length) { in sctp_addr_in_initack()
3009 ph = (struct sctp_paramhdr *) in sctp_addr_in_initack()
3010 sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), in sctp_addr_in_initack()