On Wed, Jul 31, 2013 at 10:47:43PM +0200, Antonio Quartulli wrote:
diff --git a/types.h b/types.h index 8885dc0..516d30d 100644 --- a/types.h +++ b/types.h @@ -993,6 +993,8 @@ struct batadv_forw_packet {
- @bat_ogm_emit: send scheduled OGM
- @bat_metric_is_equiv_or_better: check if new_metric is good enough to be
- comparable with metric
- with metric
???
*/
- @bat_metric_compare: compare two metric values
- @bat_orig_print: print the originator table
struct batadv_algo_ops { @@ -1007,6 +1009,7 @@ struct batadv_algo_ops { uint32_t (*bat_metric_get)(struct batadv_neigh_node *neigh_node); bool (*bat_metric_is_equiv_or_better)(uint32_t metric, uint32_t new_metric);
- int (*bat_metric_compare)(uint32_t metric, uint32_t new_metric); /* orig_node handling API */ void (*bat_orig_print)(struct batadv_priv *priv, struct seq_file *seq);
};
1.8.1.5