aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bat_algo.h
diff options
context:
space:
mode:
authorLinus Luessing <linus.luessing@web.de>2016-01-16 16:40:08 +0800
committerAntonio Quartulli <a@unstable.cc>2016-02-29 16:05:29 +0800
commit0744ff8fa8fad7aae669b73fd78f3efe1d8e31ca (patch)
tree2b77cc58902d48ea182e774f485238f9b190eb8f /net/batman-adv/bat_algo.h
parent3c59x: Ensure to apply the expires time (diff)
downloadlinux-dev-0744ff8fa8fad7aae669b73fd78f3efe1d8e31ca.tar.xz
linux-dev-0744ff8fa8fad7aae669b73fd78f3efe1d8e31ca.zip
batman-adv: Add hard_iface specific sysfs wrapper macros for UINT
This allows us to easily add a sysfs parameter for an unsigned int later, which is not for a batman mesh interface (e.g. bat0), but for a common interface instead. It allows reading and writing an atomic_t in hard_iface (instead of bat_priv compared to the mesh variant). Developed by Linus during a 6 months trainee study period in Ascom (Switzerland) AG. Signed-off-by: Linus Luessing <linus.luessing@web.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> [antonio@open-mesh.com: rename functions and move macros] Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Diffstat (limited to 'net/batman-adv/bat_algo.h')
0 files changed, 0 insertions, 0 deletions