diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2016-01-16 11:40:13 +0300 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-02-29 11:05:31 +0300 |
commit | 9323158ef9f49935f0c61509919acd31dda8f11b (patch) | |
tree | aac9dcf3817462f1f0f6b0071123643968ac5052 /net/batman-adv/bat_v_ogm.h | |
parent | 0da0035942d47766c32843143fb5dba7a29cb48c (diff) | |
download | linux-9323158ef9f49935f0c61509919acd31dda8f11b.tar.xz |
batman-adv: OGMv2 - implement originators logic
Add the support for recognising new originators in the
network and rebroadcast their OGMs.
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/bat_v_ogm.h')
-rw-r--r-- | net/batman-adv/bat_v_ogm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/batman-adv/bat_v_ogm.h b/net/batman-adv/bat_v_ogm.h index d9f178cedcd2..d849c75ada0e 100644 --- a/net/batman-adv/bat_v_ogm.h +++ b/net/batman-adv/bat_v_ogm.h @@ -18,6 +18,8 @@ #ifndef _BATMAN_ADV_BATADV_V_OGM_H_ #define _BATMAN_ADV_BATADV_V_OGM_H_ +#include <linux/types.h> + struct batadv_hard_iface; struct batadv_priv; struct sk_buff; @@ -25,6 +27,8 @@ struct sk_buff; int batadv_v_ogm_init(struct batadv_priv *bat_priv); void batadv_v_ogm_free(struct batadv_priv *bat_priv); int batadv_v_ogm_iface_enable(struct batadv_hard_iface *hard_iface); +struct batadv_orig_node *batadv_v_ogm_orig_get(struct batadv_priv *bat_priv, + const u8 *addr); void batadv_v_ogm_primary_iface_set(struct batadv_hard_iface *primary_iface); int batadv_v_ogm_packet_recv(struct sk_buff *skb, struct batadv_hard_iface *if_incoming); |