Searched refs:next_buff_pos (Results 1 – 1 of 1) sorted by relevance
832 int next_buff_pos = 0; in batadv_v_ogm_aggr_packet() local835 next_buff_pos += buff_pos + sizeof(*ogm2_packet); in batadv_v_ogm_aggr_packet()836 if (next_buff_pos > packet_len) in batadv_v_ogm_aggr_packet()840 next_buff_pos += ntohs(ogm2_packet->tvlv_len); in batadv_v_ogm_aggr_packet()842 return (next_buff_pos <= packet_len) && in batadv_v_ogm_aggr_packet()843 (next_buff_pos <= BATADV_MAX_AGGREGATION_BYTES); in batadv_v_ogm_aggr_packet()