Home
last modified time | relevance | path

Searched refs:sph_len (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c162 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()
687 plen -= ntohs(fph->sph_len); in sctp_input_asconf_ack()
688 fph = (sctp_parm_hdr_t *)((char *)fph + ntohs(fph->sph_len)); in sctp_input_asconf_ack()
695 param_len = ntohs(ph->sph_len); in sctp_input_asconf_ack()
963 ph->sph_len = htons(PARM_ADDR4_LEN); in sctp_wput_asconf()
[all …]
H A Dsctp_init.c66 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()
H A Dsctp_heartbeat.c151 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()
H A Dsctp_error.c85 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()
H A Dsctp_common.c1148 len = sizeof (*ph) + ntohs(uph->sph_len); in sctp_add_unrec_parm()
1160 ph->sph_len = htons(len - pad); in sctp_add_unrec_parm()
1163 bcopy(uph, ph + 1, ntohs(uph->sph_len)); in sctp_add_unrec_parm()
1198 len = ntohs(current->sph_len); in sctp_next_parm()
1368 plen = ntohs(ph->sph_len); in sctp_get_addrparams()
1686 ph->sph_len = htons(PARM_ADDR4_LEN); in sctp_secure_restart_check()
1695 ph->sph_len = htons(PARM_ADDR6_LEN); in sctp_secure_restart_check()
H A Dsctp_cookie.c243 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()
966 ceclen = sizeof (*cech) + ntohs(cph->sph_len) - sizeof (*cph); in sctp_send_cookie_echo()
H A Dsctp_notify.c403 dlen = ntohs(errh->sph_len) - sizeof (*errh); in sctp_error_event()
H A Dsctp_addr.c1727 hdr->sph_len = htons(PARM_ADDR4_LEN); in sctp_saddr_info()
1735 hdr->sph_len = htons(PARM_ADDR6_LEN); in sctp_saddr_info()
H A Dsctp_input.c3352 ch_len = ntohs(ph->sph_len); in sctp_check_input()
/illumos-gate/usr/src/uts/common/netinet/
H A Dsctp.h718 uint16_t sph_len; member
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_sctp.c584 plen = ntohs(hdr->sph_len); in interpret_params()