Lines Matching refs:sctp_chunkhdr

308 	    &abort_flag, (struct sctp_chunkhdr *)cp);  in sctp_process_init_ack()
673 struct sctp_chunkhdr *chk; in sctp_process_unrecog_chunk()
675 chk = (struct sctp_chunkhdr *)((vaddr_t)phdr + sizeof(*phdr)); in sctp_process_unrecog_chunk()
760 sctp_handle_error(struct sctp_chunkhdr *ch, in sctp_handle_error()
773 sizeof(struct sctp_chunkhdr)); in sctp_handle_error()
774 chklen = ntohs(ch->chunk_length) - sizeof(struct sctp_chunkhdr); in sctp_handle_error()
1074 op_err->m_data += sizeof(struct sctp_chunkhdr); in sctp_process_cookie_existing()
1727 cookie_offset = offset + sizeof(struct sctp_chunkhdr); in sctp_handle_cookie_echo()
1944 op_err->m_data += sizeof(struct sctp_chunkhdr); in sctp_handle_cookie_echo()
2769 struct sctp_chunkhdr *ch; in sctp_handle_packet_dropped()
2779 ch = (struct sctp_chunkhdr *)(cp->data + sizeof(struct sctphdr)); in sctp_handle_packet_dropped()
2822 while ((ch != NULL) && (chlen >= sizeof(struct sctp_chunkhdr))) { in sctp_handle_packet_dropped()
2826 if (at < sizeof(struct sctp_chunkhdr)) { in sctp_handle_packet_dropped()
2846 if (chlen < sizeof(struct sctp_chunkhdr)) { in sctp_handle_packet_dropped()
2885 if (chlen < sizeof(struct sctp_chunkhdr)) { in sctp_handle_packet_dropped()
2889 ch = (struct sctp_chunkhdr *)((vaddr_t)ch + SCTP_SIZE32(at)); in sctp_handle_packet_dropped()
3026 struct sctphdr *sh, struct sctp_chunkhdr *ch, struct sctp_inpcb *inp, in sctp_process_control()
3202 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, *offset, in sctp_process_control()
3221 sizeof(struct sctp_chunkhdr); in sctp_process_control()
3235 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, *offset, in sctp_process_control()
3663 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, *offset, in sctp_process_control()
3681 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, *offset, in sctp_process_control()
3748 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, *offset, in sctp_process_control()
3749 sizeof(struct sctp_chunkhdr), chunk_buf); in sctp_process_control()
3830 int length, struct sctphdr *sh, struct sctp_chunkhdr *ch, in sctp_common_input_processing()
4064 struct sctp_chunkhdr *ch; in sctp_input()
4106 ch = (struct sctp_chunkhdr *)((vaddr_t)sh + sizeof(*sh)); in sctp_input()
4253 offset -= sizeof(struct sctp_chunkhdr); in sctp_input()