Lines Matching refs:ogm2
608 const struct batadv_ogm2_packet *ogm2, in batadv_v_ogm_metric_update() argument
625 seq_diff = ntohl(ogm2->seqno) - orig_ifinfo->last_real_seqno; in batadv_v_ogm_metric_update()
634 ogm2->orig); in batadv_v_ogm_metric_update()
651 orig_ifinfo->last_real_seqno = ntohl(ogm2->seqno); in batadv_v_ogm_metric_update()
652 orig_ifinfo->last_ttl = ogm2->ttl; in batadv_v_ogm_metric_update()
660 ntohl(ogm2->throughput)); in batadv_v_ogm_metric_update()
662 neigh_ifinfo->bat_v.last_seqno = ntohl(ogm2->seqno); in batadv_v_ogm_metric_update()
663 neigh_ifinfo->last_ttl = ogm2->ttl; in batadv_v_ogm_metric_update()
690 const struct batadv_ogm2_packet *ogm2, in batadv_v_ogm_route_update() argument
784 const struct batadv_ogm2_packet *ogm2, in batadv_v_ogm_process_per_outif() argument
794 seqno_age = batadv_v_ogm_metric_update(bat_priv, ogm2, orig_node, in batadv_v_ogm_process_per_outif()
806 (unsigned char *)(ogm2 + 1), in batadv_v_ogm_process_per_outif()
807 ntohs(ogm2->tvlv_len)); in batadv_v_ogm_process_per_outif()
810 forward = batadv_v_ogm_route_update(bat_priv, ethhdr, ogm2, orig_node, in batadv_v_ogm_process_per_outif()
816 batadv_v_ogm_forward(bat_priv, ogm2, orig_node, neigh_node, in batadv_v_ogm_process_per_outif()