Lines Matching full:chunk

77 /* Prototypes for chunk state functions. */
169 /* Prototypes for chunk-building functions. */
174 const struct sctp_chunk *chunk,
177 const struct sctp_chunk *chunk);
179 const struct sctp_chunk *chunk);
182 const struct sctp_chunk *chunk);
195 const struct sctp_chunk *chunk);
197 const struct sctp_chunk *chunk);
200 const struct sctp_chunk *chunk);
201 int sctp_init_cause(struct sctp_chunk *chunk, __be16 cause, size_t paylen);
203 const struct sctp_chunk *chunk,
206 const struct sctp_chunk *chunk,
212 const struct sctp_chunk *chunk,
217 const struct sctp_chunk *chunk,
221 const struct sctp_chunk *chunk);
224 const struct sctp_chunk *chunk);
229 const struct sctp_chunk *chunk,
234 const struct sctp_chunk *chunk,
245 struct sctp_chunk *chunk, bool addr_param_needed,
271 struct sctp_chunk *chunk,
273 void sctp_chunk_assign_tsn(struct sctp_chunk *chunk);
274 void sctp_chunk_assign_ssn(struct sctp_chunk *chunk);
321 struct sctp_chunk *chunk,
333 /* Get the size of a DATA chunk payload. */
334 static inline __u16 sctp_data_size(struct sctp_chunk *chunk) in sctp_data_size() argument
338 size = ntohs(chunk->chunk_hdr->length); in sctp_data_size()
339 size -= sctp_datachk_len(&chunk->asoc->stream); in sctp_data_size()
375 sctp_vtag_verify(const struct sctp_chunk *chunk, in sctp_vtag_verify() argument
384 if (ntohl(chunk->sctp_hdr->vtag) != asoc->c.my_vtag) in sctp_vtag_verify()
387 chunk->transport->encap_port = SCTP_INPUT_CB(chunk->skb)->encap_port; in sctp_vtag_verify()
392 * not set, OR its peer's tag and the T bit is set in the Chunk Flags.
395 sctp_vtag_verify_either(const struct sctp_chunk *chunk, in sctp_vtag_verify_either() argument
404 * it is set to its peer's tag and the T bit is set in the Chunk in sctp_vtag_verify_either()
413 * it is set to its peer's tag and the T bit is set in the Chunk in sctp_vtag_verify_either()
419 if ((!sctp_test_T_bit(chunk) && in sctp_vtag_verify_either()
420 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) || in sctp_vtag_verify_either()
421 (sctp_test_T_bit(chunk) && asoc->c.peer_vtag && in sctp_vtag_verify_either()
422 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) { in sctp_vtag_verify_either()