diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-02-07 17:20:47 +0800 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-04-18 09:53:59 +0200 |
commit | 00a50076a3afa4014cdd57e87e31a00ce4c4b67e (patch) | |
tree | 29a2f36db820eb25b3d4abd56c71d8c2e6cde889 /net/batman-adv/types.h | |
parent | d7d32ec0f199cc00a43434cdd920338763fab2e0 (diff) | |
download | op-kernel-dev-00a50076a3afa4014cdd57e87e31a00ce4c4b67e.zip op-kernel-dev-00a50076a3afa4014cdd57e87e31a00ce4c4b67e.tar.gz |
batman-adv: add iface_disable() callback to routing API
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r-- | net/batman-adv/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 4b92248..b034cf2 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -379,6 +379,8 @@ struct bat_algo_ops { char *name; /* init routing info when hard-interface is enabled */ void (*bat_iface_enable)(struct hard_iface *hard_iface); + /* de-init routing info when hard-interface is disabled */ + void (*bat_iface_disable)(struct hard_iface *hard_iface); /* init primary OGM when primary interface is selected */ void (*bat_ogm_init_primary)(struct hard_iface *hard_iface); /* init mac addresses of the OGM belonging to this hard-interface */ |