Lines Matching refs:sch
53 sctp_chunk_hdr_t *sch; in sctp_send_shutdown() local
100 smp = allocb(sizeof (*sch) + sizeof (*ctsn), BPRI_MED); in sctp_send_shutdown()
107 sch = (sctp_chunk_hdr_t *)smp->b_rptr; in sctp_send_shutdown()
108 smp->b_wptr = smp->b_rptr + sizeof (*sch) + sizeof (*ctsn); in sctp_send_shutdown()
111 sizeof (*sch) + sizeof (*ctsn)); in sctp_send_shutdown()
116 sch = (sctp_chunk_hdr_t *)sendmp->b_wptr; in sctp_send_shutdown()
117 sendmp->b_wptr += sizeof (*sch) + sizeof (*ctsn); in sctp_send_shutdown()
123 sch->sch_id = CHUNK_SHUTDOWN; in sctp_send_shutdown()
124 sch->sch_flags = 0; in sctp_send_shutdown()
125 sch->sch_len = htons(sizeof (*sch) + sizeof (*ctsn)); in sctp_send_shutdown()
127 ctsn = (uint32_t *)(sch + 1); in sctp_send_shutdown()
146 sctp_shutdown_received(sctp_t *sctp, sctp_chunk_hdr_t *sch, boolean_t crwsd, in sctp_shutdown_received() argument
157 if (sch != NULL) { in sctp_shutdown_received()
158 tsn = (uint32_t *)(sch + 1); in sctp_shutdown_received()