Home
last modified time | relevance | path

Searched refs:overhead (Results 1 – 18 of 18) sorted by relevance

/net/sctp/
A Doutput.c60 packet->size = packet->overhead; in sctp_packet_reset()
95 packet->overhead = sctp_mtu_payload(sp, 0, 0); in sctp_packet_config()
96 packet->size = packet->overhead; in sctp_packet_config()
155 packet->overhead = 0; in sctp_packet_init()
221 int overhead = 0; in sctp_packet_bundle_pad() local
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()
602 skb_reserve(head, packet->overhead + MAX_HEADER); in sctp_packet_transmit()
[all …]
/net/l2tp/
A Dl2tp_eth.c189 unsigned int overhead = 0; in l2tp_eth_adjust_mtu() local
195 overhead += sizeof(struct udphdr); in l2tp_eth_adjust_mtu()
214 overhead += session->hdr_len + ETH_HLEN + l3_overhead; in l2tp_eth_adjust_mtu()
216 mtu = l2tp_tunnel_dst_mtu(tunnel) - overhead; in l2tp_eth_adjust_mtu()
218 dev->mtu = ETH_DATA_LEN - overhead; in l2tp_eth_adjust_mtu()
/net/mac80211/
A Dairtime.c508 u32 *overhead) in ieee80211_get_rate_duration() argument
579 *overhead = 36 + (streams << 2); in ieee80211_get_rate_duration()
590 u32 duration, overhead = 0; in ieee80211_calc_rx_airtime() local
613 duration = ieee80211_get_rate_duration(hw, status, &overhead); in ieee80211_calc_rx_airtime()
621 return duration + overhead; in ieee80211_calc_rx_airtime()
781 u32 duration, overhead; in ieee80211_calc_expected_tx_airtime() local
790 duration = ieee80211_get_rate_duration(hw, &stat, &overhead); in ieee80211_calc_expected_tx_airtime()
816 duration += (overhead >> agg_shift); in ieee80211_calc_expected_tx_airtime()
A Drc80211_minstrel_ht.c503 unsigned int nsecs = 0, overhead = mi->overhead; in minstrel_ht_get_tp_avg() local
511 overhead = mi->overhead_legacy; in minstrel_ht_get_tp_avg()
515 nsecs = 1000 * overhead / ampdu_len; in minstrel_ht_get_tp_avg()
1391 unsigned int overhead = 0, overhead_rtscts = 0; in minstrel_calc_retransmit() local
1413 overhead = mi->overhead_legacy; in minstrel_calc_retransmit()
1416 overhead = mi->overhead; in minstrel_calc_retransmit()
1421 tx_time = ctime + 2 * (overhead + tx_time_data); in minstrel_calc_retransmit()
1431 tx_time += ctime + overhead + tx_time_data; in minstrel_calc_retransmit()
1729 mi->overhead = ieee80211_frame_duration(sband->band, 0, 60, 1, 1); in minstrel_ht_update_caps()
1730 mi->overhead += ack_dur; in minstrel_ht_update_caps()
[all …]
A Drc80211_minstrel_ht.h172 unsigned int overhead; member
A DKconfig106 The overhead in this option is that all the messages
/net/
A Dsocket.c3719 u32 overhead = 0; in kernel_sock_ip_overhead() local
3726 return overhead; in kernel_sock_ip_overhead()
3731 overhead += sizeof(struct iphdr); in kernel_sock_ip_overhead()
3735 overhead += opt->opt.optlen; in kernel_sock_ip_overhead()
3736 return overhead; in kernel_sock_ip_overhead()
3740 overhead += sizeof(struct ipv6hdr); in kernel_sock_ip_overhead()
3745 overhead += (optv6->opt_flen + optv6->opt_nflen); in kernel_sock_ip_overhead()
3746 return overhead; in kernel_sock_ip_overhead()
3749 return overhead; in kernel_sock_ip_overhead()
A DKconfig158 capabilities. This option adds some overhead in the transmit
300 This also increases memory overhead of small packets,
/net/sched/
A Dsch_tbf.c134 if (len > r->overhead) in psched_ns_t2l()
135 len -= r->overhead; in psched_ns_t2l()
A Dsch_generic.c1550 r->overhead = conf->overhead; in psched_ratecfg_precompute()
A Dact_police.c455 entry->police.overhead = tcf_police_rate_overhead(act); in tcf_police_offload_act_setup()
A Dsch_htb.c1796 if (hopt->rate.overhead || hopt->ceil.overhead) { in htb_change_class()
A Dsch_api.c581 pkt_len = skb->len + stab->szopts.overhead; in __qdisc_calculate_pkt_len()
A Dsch_taprio.c298 max_frm_len -= stab->szopts.overhead; in taprio_update_queue_max_sdu()
/net/batman-adv/
A DKconfig75 reduce the air overhead while improving the reliability of
/net/dsa/
A Duser.c2114 int overhead; in dsa_user_change_mtu() local
2143 overhead = dsa_tag_protocol_overhead(cpu_dp->tag_ops); in dsa_user_change_mtu()
2144 mtu_limit = min_t(int, conduit->max_mtu, dev->max_mtu + overhead); in dsa_user_change_mtu()
2146 new_conduit_mtu = largest_mtu + overhead; in dsa_user_change_mtu()
2181 dsa_port_mtu_change(cpu_dp, old_conduit_mtu - overhead); in dsa_user_change_mtu()
/net/mptcp/
A Dprotocol.c928 int len = dfrag->data_len + dfrag->overhead; in dfrag_clear()
1051 dfrag->overhead = offset - orig_offset + sizeof(struct mptcp_data_frag); in mptcp_carve_data_frag()
1804 frag_truesize = dfrag->overhead; in mptcp_sendmsg()
A Dprotocol.h267 u16 overhead; member

Completed in 71 milliseconds