Lines Matching refs:ogm2
607 const struct batadv_ogm2_packet *ogm2, in batadv_v_ogm_metric_update() argument
624 seq_diff = ntohl(ogm2->seqno) - orig_ifinfo->last_real_seqno; in batadv_v_ogm_metric_update()
633 ogm2->orig); in batadv_v_ogm_metric_update()
650 orig_ifinfo->last_real_seqno = ntohl(ogm2->seqno); in batadv_v_ogm_metric_update()
651 orig_ifinfo->last_ttl = ogm2->ttl; in batadv_v_ogm_metric_update()
659 ntohl(ogm2->throughput)); in batadv_v_ogm_metric_update()
661 neigh_ifinfo->bat_v.last_seqno = ntohl(ogm2->seqno); in batadv_v_ogm_metric_update()
662 neigh_ifinfo->last_ttl = ogm2->ttl; in batadv_v_ogm_metric_update()
689 const struct batadv_ogm2_packet *ogm2, in batadv_v_ogm_route_update() argument
783 const struct batadv_ogm2_packet *ogm2, in batadv_v_ogm_process_per_outif() argument
793 seqno_age = batadv_v_ogm_metric_update(bat_priv, ogm2, orig_node, in batadv_v_ogm_process_per_outif()
805 (unsigned char *)(ogm2 + 1), in batadv_v_ogm_process_per_outif()
806 ntohs(ogm2->tvlv_len)); in batadv_v_ogm_process_per_outif()
809 forward = batadv_v_ogm_route_update(bat_priv, ethhdr, ogm2, orig_node, in batadv_v_ogm_process_per_outif()
815 batadv_v_ogm_forward(bat_priv, ogm2, orig_node, neigh_node, in batadv_v_ogm_process_per_outif()