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.c444 rlen -= 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()
1047 elen = ntohs(errph->sph_len); in sctp_asconf_adderr()
1057 wph->sph_len = htons(len); in sctp_asconf_adderr()
1086 alen = ntohs(ph->sph_len); in sctp_check_addip_addr()
1498 ad4->sad4_addip_ph.sph_len = in sctp_add_ip()
1513 ad6->sad6_addip_ph.sph_len = in sctp_add_ip()
1653 ad4->sad4_addip_ph.sph_len = in sctp_del_ip()
[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()