* [B.A.T.M.A.N.] [PATCH] batctl: add isolation_mark support
@ 2014-02-20 15:00 Antonio Quartulli
2014-02-22 13:15 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2014-02-20 15:00 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Antonio Quartulli
From: Antonio Quartulli <antonio@open-mesh.com>
With this patch it is now possible to set/unset the value
of the isolation_mark used by the Extended Isolation feature
in batman-adv.
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
---
sys.c | 9 +++++++--
sys.h | 1 +
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/sys.c b/sys.c
index 5cebf52..fd6e107 100644
--- a/sys.c
+++ b/sys.c
@@ -96,8 +96,13 @@ const struct settings_data batctl_settings[BATCTL_SETTINGS_NUM] = {
.opt_short = "nc",
.sysfs_name = "network_coding",
.params = sysfs_param_enable,
- }
-
+ },
+ {
+ .opt_long = "isolation_mark",
+ .opt_short = "mark",
+ .sysfs_name = "isolation_mark",
+ .params = NULL,
+ },
};
static void interface_usage(void)
diff --git a/sys.h b/sys.h
index 2cbbcfb..5633822 100644
--- a/sys.h
+++ b/sys.h
@@ -46,6 +46,7 @@ enum batctl_settings_list {
BATCTL_SETTINGS_BONDING,
BATCTL_SETTINGS_FRAGMENTATION,
BATCTL_SETTINGS_NETWORK_CODING,
+ BATCTL_SETTINGS_ISOLATION_MARK,
BATCTL_SETTINGS_NUM,
};
--
1.8.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batctl: add isolation_mark support
2014-02-20 15:00 [B.A.T.M.A.N.] [PATCH] batctl: add isolation_mark support Antonio Quartulli
@ 2014-02-22 13:15 ` Marek Lindner
0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2014-02-22 13:15 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
On Thursday 20 February 2014 16:00:22 Antonio Quartulli wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
>
> With this patch it is now possible to set/unset the value
> of the isolation_mark used by the Extended Isolation feature
> in batman-adv.
>
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
> ---
> sys.c | 9 +++++++--
> sys.h | 1 +
> 2 files changed, 8 insertions(+), 2 deletions(-)
What about the manpage documentation ?
Cheers,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-22 13:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 15:00 [B.A.T.M.A.N.] [PATCH] batctl: add isolation_mark support Antonio Quartulli
2014-02-22 13:15 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).