Lines Matching refs:auth
78 packet->auth = NULL; in sctp_packet_reset()
219 struct sctp_chunk *auth; in sctp_packet_bundle_auth() local
235 if (!chunk->auth) in sctp_packet_bundle_auth()
238 auth = sctp_make_auth(asoc); in sctp_packet_bundle_auth()
239 if (!auth) in sctp_packet_bundle_auth()
242 retval = __sctp_packet_append_chunk(pkt, auth); in sctp_packet_bundle_auth()
245 sctp_chunk_free(auth); in sctp_packet_bundle_auth()
335 packet->auth = chunk; in __sctp_packet_append_chunk()
423 unsigned char *auth = NULL; /* pointer to auth in skb data */ in sctp_packet_transmit() local
514 if (chunk == packet->auth) in sctp_packet_transmit()
577 if (chunk == packet->auth) in sctp_packet_transmit()
578 auth = skb_tail_pointer(nskb); in sctp_packet_transmit()
598 if (!sctp_chunk_is_data(chunk) && chunk != packet->auth) in sctp_packet_transmit()
614 if (auth) in sctp_packet_transmit()
616 (struct sctp_auth_chunk *)auth, in sctp_packet_transmit()
619 if (packet->auth) { in sctp_packet_transmit()
624 list_add(&packet->auth->list, in sctp_packet_transmit()
627 sctp_chunk_free(packet->auth); in sctp_packet_transmit()
628 packet->auth = NULL; in sctp_packet_transmit()
735 if (packet->auth && list_empty(&packet->auth->list)) in sctp_packet_transmit()
736 sctp_chunk_free(packet->auth); in sctp_packet_transmit()
904 (!packet->has_data && chunk->auth)) { in sctp_packet_will_fit()
919 if (packet->auth) in sctp_packet_will_fit()
920 maxsize -= SCTP_PAD4(packet->auth->skb->len); in sctp_packet_will_fit()