Searched refs:sph_len (Results 1 – 11 of 11) sorted by relevance
162 wph->sph_len = htons(msgdsize(mp) + sizeof (*wph) + sizeof (cid)); in sctp_asconf_prepend_errwrap()433 if (rlen <= ntohs(ph->sph_len)) { in sctp_input_asconf()444 rlen -= ntohs(ph->sph_len); in sctp_input_asconf()445 ph = (sctp_parm_hdr_t *)((char *)ph + ntohs(ph->sph_len)); in sctp_input_asconf()466 plen = ntohs(oph->sph_len); in sctp_input_asconf()515 plen = ntohs(ph->sph_len); in sctp_input_asconf()681 plen -= ntohs(fph->sph_len); in sctp_input_asconf_ack()682 fph = (sctp_parm_hdr_t *)((char *)fph + ntohs(fph->sph_len)); in sctp_input_asconf_ack()689 param_len = ntohs(ph->sph_len); in sctp_input_asconf_ack()957 ph->sph_len = htons(PARM_ADDR4_LEN); in sctp_wput_asconf()[all …]
66 sph->sph_len = htons(sizeof (*sph) + sizeof (*addrtype)); in sctp_supaddr_param()72 sph->sph_len = htons(sizeof (*sph) + in sctp_supaddr_param()76 sph->sph_len = htons(sizeof (*sph) + in sctp_supaddr_param()115 sph->sph_len = htons(sizeof (*sph)); in sctp_options_param()135 sph->sph_len = htons(sizeof (*sph) + sizeof (uint32_t)); in sctp_adaptation_code_param()
151 hpp->sph_len = hblen - sizeof (*cp); in sctp_send_heartbeat()152 hpp->sph_len = htons(hpp->sph_len); in sctp_send_heartbeat()296 ntohs(hpp->sph_len) != (ntohs(cp->sch_len) - sizeof (*cp))) { in sctp_process_heartbeat()
85 eph->sph_len = htons(len + sizeof (*eph)); in sctp_link_abort()498 eph->sph_len = htons(len + sizeof (*eph)); in sctp_make_err()635 if (ntohs(errh->sph_len) < (sizeof (*errh) + sizeof (*uch))) { in sctp_handle_error()648 (ntohs(errh->sph_len) - sizeof (*errh))) { in sctp_handle_error()
1146 len = sizeof (*ph) + ntohs(uph->sph_len); in sctp_add_unrec_parm()1158 ph->sph_len = htons(len - pad); in sctp_add_unrec_parm()1161 bcopy(uph, ph + 1, ntohs(uph->sph_len)); in sctp_add_unrec_parm()1196 len = ntohs(current->sph_len); in sctp_next_parm()1366 plen = ntohs(ph->sph_len); in sctp_get_addrparams()1684 ph->sph_len = htons(PARM_ADDR4_LEN); in sctp_secure_restart_check()1693 ph->sph_len = htons(PARM_ADDR6_LEN); in sctp_secure_restart_check()
243 errlen = ntohs(cph->sph_len); in validate_init_params()251 plen = ntohs(cph->sph_len); in validate_init_params()298 ntohs(cph->sph_len)); in validate_init_params()748 cookieph->sph_len = htons(cookielen); in sctp_send_initack()914 ntohs(sph->sph_len) >= (sizeof (*sph) + in sctp_find_al_ind()964 ceclen = sizeof (*cech) + ntohs(cph->sph_len) - sizeof (*cph); in sctp_send_cookie_echo()
403 dlen = ntohs(errh->sph_len) - sizeof (*errh); in sctp_error_event()
1727 hdr->sph_len = htons(PARM_ADDR4_LEN); in sctp_saddr_info()1735 hdr->sph_len = htons(PARM_ADDR6_LEN); in sctp_saddr_info()
3350 ch_len = ntohs(ph->sph_len); in sctp_check_input()
718 uint16_t sph_len; member
586 plen = ntohs(hdr->sph_len); in interpret_params()