Lines Matching refs:pkt
217 static enum sctp_xmit sctp_packet_bundle_pad(struct sctp_packet *pkt, struct sctp_chunk *chunk)
219 struct sctp_transport *t = pkt->transport;
233 list_add_tail(&pad->list, &pkt->chunk_list);
234 pkt->size += SCTP_PAD4(ntohs(pad->chunk_hdr->length));
241 static enum sctp_xmit sctp_packet_bundle_auth(struct sctp_packet *pkt,
244 struct sctp_association *asoc = pkt->transport->asoc;
255 if (chunk->chunk_hdr->type == SCTP_CID_AUTH || pkt->has_auth)
271 retval = __sctp_packet_append_chunk(pkt, auth);
280 static enum sctp_xmit sctp_packet_bundle_sack(struct sctp_packet *pkt,
288 if (sctp_chunk_is_data(chunk) && !pkt->has_sack &&
289 !pkt->has_cookie_echo) {
292 asoc = pkt->transport->asoc;
299 if (pkt->transport->sack_generation !=
300 pkt->transport->asoc->peer.sack_generation)
306 retval = __sctp_packet_append_chunk(pkt, sack);