From patchwork Sun Jan 22 19:00:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 1460 Return-Path: Received: from cora.hrz.tu-chemnitz.de (cora.hrz.tu-chemnitz.de [134.109.228.40]) by open-mesh.org (Postfix) with ESMTPS id 14250600852 for ; Sun, 22 Jan 2012 20:00:29 +0100 (CET) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@tu-chemnitz.de; dkim-adsp=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tu-chemnitz.de; s=dkim2010; h=References:In-Reply-To:Message-Id:Date:Subject:To:From; bh=f5CcrIzazWjw8C6Sc7SwJ0mUjiiieZUKj+WV2C5FH+M=; b=0OiJS4G18K2L4ITQXggKCgZNFQvjTGifosJMcXUhlge6o87Uy5ki8P3kHJKRZ2YXjoUcRD97H2at+OF0xIqBP18IoJSN2dZ7dgrA3nTJw7UzAuSSrWWmtzoyYBBx7G+Pk8iZ1eqOpZMq/s1gLUU+pB3tsIpBLx0rR8aPwylx6Xw=; Received: from p57aa022b.dip0.t-ipconnect.de ([87.170.2.43] helo=pandem0nium) by cora.hrz.tu-chemnitz.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rp2eR-0002dm-L9 for b.a.t.m.a.n@lists.open-mesh.org; Sun, 22 Jan 2012 20:00:28 +0100 Received: from dotslash by pandem0nium with local (Exim 4.72) (envelope-from ) id 1Rp2eR-0003cD-FV for b.a.t.m.a.n@lists.open-mesh.org; Sun, 22 Jan 2012 20:00:27 +0100 From: Simon Wunderlich To: b.a.t.m.a.n@lists.open-mesh.org Date: Sun, 22 Jan 2012 20:00:20 +0100 Message-Id: <1327258827-13861-4-git-send-email-siwu@hrz.tu-chemnitz.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1327258827-13861-1-git-send-email-siwu@hrz.tu-chemnitz.de> References: <1327258827-13861-1-git-send-email-siwu@hrz.tu-chemnitz.de> X-RBL-Warning: 87.170.2.43 is listed at zen.spamhaus.org X-Scan-AV: cora.hrz.tu-chemnitz.de; 2012-01-22 20:00:28; e6bbb7a182990275e0b4dfe982636b12 X-Scan-SA: cora.hrz.tu-chemnitz.de; 2012-01-22 20:00:28; 196ee594a5cba937c87f61ce6b3b886f X-Spam-Score: 1.5 (+) X-Spam-Report: --- Textanalyse SpamAssassin 3.3.1 (1.5 Punkte) Fragen an/questions to: Postmaster TU Chemnitz * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 2.5 TUC_RBL RBL: Mail von bekanntem Spam-Relay oder Dialup (TUC) --- Ende Textanalyse Subject: [B.A.T.M.A.N.] [PATCHv3 03/10] batman-adv: make bridge loop avoidance switchable X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2012 19:00:29 -0000 Signed-off-by: Simon Wunderlich --- bat_sysfs.c | 2 ++ sysfs-class-net-mesh | 9 +++++++++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/bat_sysfs.c b/bat_sysfs.c index 8c588b4..2305cad 100644 --- a/bat_sysfs.c +++ b/bat_sysfs.c @@ -386,6 +386,7 @@ static ssize_t store_gw_bwidth(struct kobject *kobj, struct attribute *attr, BAT_ATTR_BOOL(aggregated_ogms, S_IRUGO | S_IWUSR, NULL); BAT_ATTR_BOOL(bonding, S_IRUGO | S_IWUSR, NULL); +BAT_ATTR_BOOL(bridge_loop_avoidance, S_IRUGO | S_IWUSR, NULL); BAT_ATTR_BOOL(fragmentation, S_IRUGO | S_IWUSR, update_min_mtu); BAT_ATTR_BOOL(ap_isolation, S_IRUGO | S_IWUSR, NULL); static BAT_ATTR(vis_mode, S_IRUGO | S_IWUSR, show_vis_mode, store_vis_mode); @@ -404,6 +405,7 @@ BAT_ATTR_UINT(log_level, S_IRUGO | S_IWUSR, 0, 15, NULL); static struct bat_attribute *mesh_attrs[] = { &bat_attr_aggregated_ogms, &bat_attr_bonding, + &bat_attr_bridge_loop_avoidance, &bat_attr_fragmentation, &bat_attr_ap_isolation, &bat_attr_vis_mode, diff --git a/sysfs-class-net-mesh b/sysfs-class-net-mesh index b218e0f..c81fe89 100644 --- a/sysfs-class-net-mesh +++ b/sysfs-class-net-mesh @@ -14,6 +14,15 @@ Description: mesh will be sent using multiple interfaces at the same time (if available). +What: /sys/class/net//mesh/bridge_loop_avoidance +Date: November 2011 +Contact: Simon Wunderlich +Description: + Indicates whether the bridge loop avoidance feature + is enabled. This feature detects and avoids loops + between the mesh and devices bridged with the soft + interface . + What: /sys/class/net//mesh/fragmentation Date: October 2010 Contact: Andreas Langer