Lines Matching refs:packet_len
457 static bool batadv_iv_ogm_aggr_packet(int buff_pos, int packet_len, in batadv_iv_ogm_aggr_packet() argument
465 return (next_buff_pos <= packet_len) && in batadv_iv_ogm_aggr_packet()
490 while (batadv_iv_ogm_aggr_packet(buff_pos, forw_packet->packet_len, in batadv_iv_ogm_send_to_if()
576 int packet_len, unsigned long send_time, in batadv_iv_ogm_can_aggregate() argument
583 int aggregated_bytes = forw_packet->packet_len + packet_len; in batadv_iv_ogm_can_aggregate()
674 int packet_len, unsigned long send_time, in batadv_iv_ogm_aggregate_new() argument
692 packet_len < BATADV_MAX_AGGREGATION_BYTES) in batadv_iv_ogm_aggregate_new()
695 skb_size = packet_len; in batadv_iv_ogm_aggregate_new()
708 skb_buff = skb_put(forw_packet_aggr->skb, packet_len); in batadv_iv_ogm_aggregate_new()
709 forw_packet_aggr->packet_len = packet_len; in batadv_iv_ogm_aggregate_new()
710 memcpy(skb_buff, packet_buff, packet_len); in batadv_iv_ogm_aggregate_new()
736 int packet_len, bool direct_link) in batadv_iv_ogm_aggregate() argument
741 skb_buff = skb_put(forw_packet_aggr->skb, packet_len); in batadv_iv_ogm_aggregate()
742 memcpy(skb_buff, packet_buff, packet_len); in batadv_iv_ogm_aggregate()
743 forw_packet_aggr->packet_len += packet_len; in batadv_iv_ogm_aggregate()
765 int packet_len, in batadv_iv_ogm_queue_add() argument
790 bat_priv, packet_len, in batadv_iv_ogm_queue_add()
815 batadv_iv_ogm_aggregate_new(packet_buff, packet_len, in batadv_iv_ogm_queue_add()
821 packet_len, direct_link); in batadv_iv_ogm_queue_add()