Lines Matching refs:chunk
414 static inline bool sctp_chunk_pending(const struct sctp_chunk *chunk) in sctp_chunk_pending() argument
416 return !list_empty(&chunk->list); in sctp_chunk_pending()
424 #define sctp_walk_params(pos, chunk)\ argument
425 _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length))
427 #define _sctp_walk_params(pos, chunk, end)\ argument
428 for (pos.v = (u8 *)(chunk + 1);\
430 (void *)chunk + end) &&\
431 pos.v <= (void *)chunk + end - ntohs(pos.p->length) &&\
447 #define sctp_walk_fwdtsn(pos, chunk)\ argument
448 _sctp_walk_fwdtsn((pos), (chunk), ntohs((chunk)->chunk_hdr->length) - sizeof(struct sctp_fwdtsn_chu…
450 #define _sctp_walk_fwdtsn(pos, chunk, end)\ argument
451 for (pos = (void *)(chunk->subh.fwdtsn_hdr + 1);\
452 (void *)pos <= (void *)(chunk->subh.fwdtsn_hdr + 1) + end - sizeof(struct sctp_fwdtsn_skip);\