diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-07-07 15:35:36 +0200 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-08-22 15:16:20 +0200 |
commit | 59b699cdee039d75915c354da06937102d1f9a84 (patch) | |
tree | 33fabd9cac27cb7bc1d3fbc765f098b5b8e8575e /net/batman-adv/translation-table.h | |
parent | bc2790808a7a3699a7c9f72f7ad225c8504824aa (diff) | |
download | op-kernel-dev-59b699cdee039d75915c354da06937102d1f9a84.zip op-kernel-dev-59b699cdee039d75915c354da06937102d1f9a84.tar.gz |
batman-adv: implement AP-isolation on the receiver side
When a node receives a unicast packet it checks if the source and the
destination client can communicate or not due to the AP isolation
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/translation-table.h')
-rw-r--r-- | net/batman-adv/translation-table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/translation-table.h b/net/batman-adv/translation-table.h index 4d1ca35..f1d148e 100644 --- a/net/batman-adv/translation-table.h +++ b/net/batman-adv/translation-table.h @@ -63,5 +63,6 @@ void handle_tt_response(struct bat_priv *bat_priv, void send_roam_adv(struct bat_priv *bat_priv, uint8_t *client, struct orig_node *orig_node); void tt_commit_changes(struct bat_priv *bat_priv); +bool is_ap_isolated(struct bat_priv *bat_priv, uint8_t *src, uint8_t *dst); #endif /* _NET_BATMAN_ADV_TRANSLATION_TABLE_H_ */ |