Lines Matching refs:sch
1752 sctp_chunk_hdr_t *sch; in sctp_fill_sack() local
1759 sch = (sctp_chunk_hdr_t *)dst; in sctp_fill_sack()
1760 sch->sch_id = CHUNK_SACK; in sctp_fill_sack()
1761 sch->sch_flags = 0; in sctp_fill_sack()
1762 sch->sch_len = htons(sacklen); in sctp_fill_sack()
1767 sc = (sctp_sack_chunk_t *)(sch + 1); in sctp_fill_sack()
1825 sctp_chunk_hdr_t *sch; in sctp_make_sack() local
1864 slen = sizeof (*sch) + sizeof (*sc) + in sctp_make_sack()
1896 sch = (sctp_chunk_hdr_t *)smp->b_wptr; in sctp_make_sack()
1901 sc = (sctp_sack_chunk_t *)(sch + 1); in sctp_make_sack()
1903 sch->sch_len = htons(slen + dups_len); in sctp_make_sack()
2708 sctp_got_sack(sctp_t *sctp, sctp_chunk_hdr_t *sch) in sctp_got_sack() argument
2733 chunklen = ntohs(sch->sch_len); in sctp_got_sack()
2734 if (chunklen < (sizeof (*sch) + sizeof (*sc))) in sctp_got_sack()
2737 sc = (sctp_sack_chunk_t *)(sch + 1); in sctp_got_sack()
2839 chunklen < (sizeof (*sch) + sizeof (*sc) + in sctp_got_sack()