Lines Matching refs:buff_pos
92 static int bat_iv_ogm_aggr_packet(int buff_pos, int packet_len, in bat_iv_ogm_aggr_packet() argument
95 int next_buff_pos = buff_pos + BATMAN_OGM_LEN + tt_len(tt_num_changes); in bat_iv_ogm_aggr_packet()
108 int16_t buff_pos; in bat_iv_ogm_send_to_if() local
116 buff_pos = 0; in bat_iv_ogm_send_to_if()
120 while (bat_iv_ogm_aggr_packet(buff_pos, forw_packet->packet_len, in bat_iv_ogm_send_to_if()
145 buff_pos += BATMAN_OGM_LEN + in bat_iv_ogm_send_to_if()
149 (forw_packet->skb->data + buff_pos); in bat_iv_ogm_send_to_if()
1140 int buff_pos = 0, packet_len; in bat_iv_ogm_receive() local
1155 tt_buff = packet_buff + buff_pos + BATMAN_OGM_LEN; in bat_iv_ogm_receive()
1160 buff_pos += BATMAN_OGM_LEN + in bat_iv_ogm_receive()
1164 (packet_buff + buff_pos); in bat_iv_ogm_receive()
1165 } while (bat_iv_ogm_aggr_packet(buff_pos, packet_len, in bat_iv_ogm_receive()