]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/batman-adv/types.h
batman-adv: add bat_orig_print API function
[karo-tx-linux.git] / net / batman-adv / types.h
index 97bde51b6031c6b55d3a418b7a9fb9049d3871ba..72fd617b2e739ed58c9f1af86b4657b708c09984 100644 (file)
@@ -992,6 +992,7 @@ struct batadv_forw_packet {
  * @bat_primary_iface_set: called when primary interface is selected / changed
  * @bat_ogm_schedule: prepare a new outgoing OGM for the send queue
  * @bat_ogm_emit: send scheduled OGM
+ * @bat_orig_print: print the originator table (optional)
  */
 struct batadv_algo_ops {
        struct hlist_node list;
@@ -1002,6 +1003,8 @@ struct batadv_algo_ops {
        void (*bat_primary_iface_set)(struct batadv_hard_iface *hard_iface);
        void (*bat_ogm_schedule)(struct batadv_hard_iface *hard_iface);
        void (*bat_ogm_emit)(struct batadv_forw_packet *forw_packet);
+       /* orig_node handling API */
+       void (*bat_orig_print)(struct batadv_priv *priv, struct seq_file *seq);
 };
 
 /**