Lines Matching defs:chunk
521 * the AUTH chunk
638 /* Check to see if the given chunk is supposed to be authenticated */
639 static int __sctp_auth_cid(sctp_cid_t chunk, struct sctp_chunks_param *param)
651 * The chunk types for INIT, INIT-ACK, SHUTDOWN-COMPLETE and AUTH
665 if (param->chunks[i] == chunk)
674 /* Check if peer requested that this chunk is authenticated */
675 int sctp_auth_send_cid(sctp_cid_t chunk, const struct sctp_association *asoc)
680 return __sctp_auth_cid(chunk, asoc->peer.peer_chunks);
683 /* Check if we requested that peer authenticate this chunk. */
684 int sctp_auth_recv_cid(sctp_cid_t chunk, const struct sctp_association *asoc)
689 return __sctp_auth_cid(chunk,
698 * the AUTH-chunk is given by the AUTH chunk with its HMAC field set to
700 * after the AUTH chunk in the SCTP packet.
758 /* Add a chunk to the endpoint authenticated chunk list */
765 /* If this chunk is already specified, we are done */
769 /* Check if we can add this chunk to the array */