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

/opensolaris-onvv-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_init.c66 sph->sph_len = htons(sizeof (*sph) + sizeof (*addrtype));
72 sph->sph_len = htons(sizeof (*sph) +
76 sph->sph_len = htons(sizeof (*sph) +
115 sph->sph_len = htons(sizeof (*sph));
135 sph->sph_len = htons(sizeof (*sph) + sizeof (uint32_t));
H A Dsctp_asconf.c162 wph->sph_len = htons(msgdsize(mp) + sizeof (*wph) + sizeof (cid));
433 if (rlen <= ntohs(ph->sph_len)) {
444 rlen -= ntohs(ph->sph_len);
445 ph = (sctp_parm_hdr_t *)((char *)ph + ntohs(ph->sph_len));
466 plen = ntohs(oph->sph_len);
515 plen = ntohs(ph->sph_len);
681 plen -= ntohs(fph->sph_len);
682 fph = (sctp_parm_hdr_t *)((char *)fph + ntohs(fph->sph_len));
689 param_len = ntohs(ph->sph_len);
957 ph->sph_len
[all...]
H A Dsctp_heartbeat.c151 hpp->sph_len = hblen - sizeof (*cp);
152 hpp->sph_len = htons(hpp->sph_len);
296 ntohs(hpp->sph_len) != (ntohs(cp->sch_len) - sizeof (*cp))) {
H A Dsctp_error.c85 eph->sph_len = htons(len + sizeof (*eph));
498 eph->sph_len = htons(len + sizeof (*eph));
635 if (ntohs(errh->sph_len) < (sizeof (*errh) + sizeof (*uch))) {
648 (ntohs(errh->sph_len) - sizeof (*errh))) {
H A Dsctp_cookie.c243 errlen = ntohs(cph->sph_len);
251 plen = ntohs(cph->sph_len);
298 ntohs(cph->sph_len));
748 cookieph->sph_len = htons(cookielen);
914 ntohs(sph->sph_len) >= (sizeof (*sph) +
964 ceclen = sizeof (*cech) + ntohs(cph->sph_len) - sizeof (*cph);
H A Dsctp_common.c1146 len = sizeof (*ph) + ntohs(uph->sph_len);
1158 ph->sph_len = htons(len - pad);
1161 bcopy(uph, ph + 1, ntohs(uph->sph_len));
1196 len = ntohs(current->sph_len);
1366 plen = ntohs(ph->sph_len);
1684 ph->sph_len = htons(PARM_ADDR4_LEN);
1693 ph->sph_len = htons(PARM_ADDR6_LEN);
H A Dsctp_notify.c403 dlen = ntohs(errh->sph_len) - sizeof (*errh);
H A Dsctp_addr.c1728 hdr->sph_len = htons(PARM_ADDR4_LEN);
1736 hdr->sph_len = htons(PARM_ADDR6_LEN);
H A Dsctp_input.c3350 ch_len = ntohs(ph->sph_len);
/opensolaris-onvv-gate/usr/src/uts/common/netinet/
H A Dsctp.h718 uint16_t sph_len; member in struct:sctp_parm_hdr
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_sctp.c586 plen = ntohs(hdr->sph_len);

Completed in 180 milliseconds