Lines Matching refs:limit
1061 struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t limit) in sctp_handle_error() argument
1073 if (remaining_length > limit) { in sctp_handle_error()
1074 remaining_length = limit; in sctp_handle_error()
4129 struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t limit) in sctp_handle_packet_dropped() argument
4140 KASSERT(sizeof(struct sctp_pktdrop_chunk) <= limit, in sctp_handle_packet_dropped()
4144 KASSERT(limit <= pktdrp_len, ("Inconsistent limit")); in sctp_handle_packet_dropped()
4151 limit -= sizeof(struct sctp_pktdrop_chunk); in sctp_handle_packet_dropped()
4153 if (offset == limit) { in sctp_handle_packet_dropped()
4157 } else if (offset + sizeof(struct sctphdr) > limit) { in sctp_handle_packet_dropped()
4160 offset = limit; in sctp_handle_packet_dropped()
4166 while (offset < limit) { in sctp_handle_packet_dropped()
4167 if (offset + sizeof(struct sctp_chunkhdr) > limit) { in sctp_handle_packet_dropped()
4196 if (offset + sizeof(struct sctp_data_chunk) + SCTP_NUM_DB_TO_VERIFY > limit) { in sctp_handle_packet_dropped()
4223 if (offset + sizeof(struct sctp_idata_chunk) + SCTP_NUM_DB_TO_VERIFY > limit) { in sctp_handle_packet_dropped()