Lines Matching full:chunk

77 /* Prototypes for chunk state functions. */
168 /* Prototypes for chunk-building functions. */
173 const struct sctp_chunk *chunk,
176 const struct sctp_chunk *chunk);
178 const struct sctp_chunk *chunk);
181 const struct sctp_chunk *chunk);
194 const struct sctp_chunk *chunk);
196 const struct sctp_chunk *chunk);
199 const struct sctp_chunk *chunk);
200 int sctp_init_cause(struct sctp_chunk *chunk, __be16 cause, size_t paylen);
202 const struct sctp_chunk *chunk,
205 const struct sctp_chunk *chunk,
211 const struct sctp_chunk *chunk,
216 const struct sctp_chunk *chunk,
220 const struct sctp_chunk *chunk);
223 const struct sctp_chunk *chunk);
228 const struct sctp_chunk *chunk,
233 const struct sctp_chunk *chunk,
244 struct sctp_chunk *chunk, bool addr_param_needed,
270 struct sctp_chunk *chunk,
272 void sctp_chunk_assign_tsn(struct sctp_chunk *chunk);
273 void sctp_chunk_assign_ssn(struct sctp_chunk *chunk);
320 struct sctp_chunk *chunk,
332 /* Get the size of a DATA chunk payload. */
333 static inline __u16 sctp_data_size(struct sctp_chunk *chunk)
337 size = ntohs(chunk->chunk_hdr->length);
338 size -= sctp_datachk_len(&chunk->asoc->stream);
374 sctp_vtag_verify(const struct sctp_chunk *chunk,
383 if (ntohl(chunk->sctp_hdr->vtag) != asoc->c.my_vtag)
386 chunk->transport->encap_port = SCTP_INPUT_CB(chunk->skb)->encap_port;
391 * not set, OR its peer's tag and the T bit is set in the Chunk Flags.
394 sctp_vtag_verify_either(const struct sctp_chunk *chunk,
403 * it is set to its peer's tag and the T bit is set in the Chunk
412 * it is set to its peer's tag and the T bit is set in the Chunk
418 if ((!sctp_test_T_bit(chunk) &&
419 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) ||
420 (sctp_test_T_bit(chunk) && asoc->c.peer_vtag &&
421 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) {