Home
last modified time | relevance | path

Searched refs:ipsctplen (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_cookie.c481 size_t ipsctplen; in sctp_send_initack() local
510 ipsctplen = sctp->sctp_ip_hdr_len; in sctp_send_initack()
514 ipsctplen = sctp->sctp_ip_hdr6_len; in sctp_send_initack()
589 ipsctplen += sizeof (*iacksh) + iacklen; in sctp_send_initack()
596 if ((pad = ipsctplen % SCTP_ALIGN) != 0) { in sctp_send_initack()
598 ipsctplen += pad; in sctp_send_initack()
658 iackmp = allocb(ipsctplen + sctps->sctps_wroff_xtra, BPRI_MED); in sctp_send_initack()
676 iackiph->ipha_length = htons(ipsctplen + errlen); in sctp_send_initack()
686 iackip6h->ip6_plen = htons(ipsctplen + errlen - IPV6_HDR_LEN); in sctp_send_initack()
690 ixa->ixa_pktlen = ipsctplen + errlen; in sctp_send_initack()
[all …]
H A Dsctp_common.c287 size_t ipsctplen; in sctp_make_mp() local
315 ipsctplen = sctp->sctp_hdr_len; in sctp_make_mp()
317 ipsctplen = sctp->sctp_hdr6_len; in sctp_make_mp()
320 mp = allocb(ipsctplen + sctps->sctps_wroff_xtra + trailer, BPRI_MED); in sctp_make_mp()
326 mp->b_wptr = mp->b_rptr + ipsctplen; in sctp_make_mp()
333 bcopy(sctp->sctp_iphc, mp->b_rptr, ipsctplen); in sctp_make_mp()
346 bcopy(sctp->sctp_iphc6, mp->b_rptr, ipsctplen); in sctp_make_mp()