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()
153 /* The overhead will be calculated by sctp_packet_config() */ in sctp_packet_init()
154 packet->overhead = 0; in sctp_packet_init()
220 int overhead = 0; in sctp_packet_bundle_pad() local
226 overhead += sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); in sctp_packet_bundle_pad()
227 overhead += sizeof(struct sctp_sender_hb_info) + sizeof(struct sctp_pad_chunk); in sctp_packet_bundle_pad()
228 pad = sctp_make_pad(t->asoc, t->pl.probe_size - overhead); in sctp_packet_bundle_pad()
457 pkt_size = packet->overhead; in sctp_packet_pack()
464 else if (auth_len + padded + packet->overhead > in sctp_packet_pack()
474 skb_reserve(nskb, packet->overhead + MAX_HEADER); in sctp_packet_pack()
478 pkt_size -= packet->overhead; in sctp_packet_pack()
594 head = alloc_skb((gso ? packet->overhead : packet->size) + in sctp_packet_transmit()
598 skb_reserve(head, packet->overhead + MAX_HEADER); in sctp_packet_transmit()
739 packet->overhead - sctp_datachk_len(&chunk->asoc->stream) - 4) in sctp_packet_can_append_data()
824 maxsize = pmtu - packet->overhead; in sctp_packet_will_fit()