Lines Matching full:overhead
58 * current overhead after sending packets. in sctp_packet_reset()
60 packet->size = packet->overhead; in sctp_packet_reset()
88 /* set packet max_size with pathmtu, then calculate overhead */ in sctp_packet_config()
95 packet->overhead = sctp_mtu_payload(sp, 0, 0); in sctp_packet_config()
96 packet->size = packet->overhead; in sctp_packet_config()
154 /* The overhead will be calculated by sctp_packet_config() */ in sctp_packet_init()
155 packet->overhead = 0; in sctp_packet_init()
221 int overhead = 0; in sctp_packet_bundle_pad() local
227 overhead += sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); in sctp_packet_bundle_pad()
228 overhead += sizeof(struct sctp_sender_hb_info) + sizeof(struct sctp_pad_chunk); in sctp_packet_bundle_pad()
229 pad = sctp_make_pad(t->asoc, t->pl.probe_size - overhead); in sctp_packet_bundle_pad()
458 pkt_size = packet->overhead; in sctp_packet_pack()
465 else if (auth_len + padded + packet->overhead > in sctp_packet_pack()
475 skb_reserve(nskb, packet->overhead + MAX_HEADER); in sctp_packet_pack()
479 pkt_size -= packet->overhead; in sctp_packet_pack()
598 head = alloc_skb((gso ? packet->overhead : packet->size) + in sctp_packet_transmit()
602 skb_reserve(head, packet->overhead + MAX_HEADER); in sctp_packet_transmit()
743 packet->overhead - sctp_datachk_len(&chunk->asoc->stream) - 4) in sctp_packet_can_append_data()
828 maxsize = pmtu - packet->overhead; in sctp_packet_will_fit()