From: Marek Lindner <lindner_marek@yahoo.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] sysfs abi documentation
Date: Sun, 9 May 2010 11:17:04 +0800 [thread overview]
Message-ID: <201005091117.05627.lindner_marek@yahoo.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 284 bytes --]
Hi,
Greg asked us to provide an ABI documentation for the files creates in the
sysfs tree. Since I am respsonsible for the sysfs stuff, I felt it was my turn
to draft something. Please check the attachments and let me know whether you
think we can send it or not.
Cheers,
Marek
[-- Attachment #2: sysfs-class-net-mesh --]
[-- Type: text/plain, Size: 3671 bytes --]
What: /sys/class/net/<mesh_iface>/mesh/aggregate_ogm
Date: May 2010
Contact: Marek Lindner <lindner_marek@yahoo.de>
Description:
Indicates whether the batman protocol messages of the
mesh <mesh_iface> shall be aggregated or not.
What: /sys/class/net/<mesh_iface>/mesh/orig_interval
Date: May 2010
Contact: Marek Lindner <lindner_marek@yahoo.de>
Description:
Defines the interval in milliseconds in which batman
sends its protocol messages.
What: /sys/class/net/<mesh_iface>/mesh/originators
Date: May 2010
Contact: Marek Lindner <lindner_marek@yahoo.de>
Description:
Displays the table of all batman nodes (in range) and
the link quality towards them. Each line contains the
following values:
1 - originator
2 - TQ (transmit quality) value of originator
3 - best next hop towards originator
4 - outgoing iface to reach best next hop
5 - list of alternative best next hops
What: /sys/class/net/<mesh_iface>/mesh/transtable_global
Date: May 2010
Contact: Marek Lindner <lindner_marek@yahoo.de>
Description:
Displays the table of mesh-wide announced mac
addresses. Each line contains the following values:
1 - announced mac address
2 - originator announcing the mac address
What: /sys/class/net/<mesh_iface>/mesh/transtable_local
Date: May 2010
Contact: Marek Lindner <lindner_marek@yahoo.de>
Description:
Displays the table of mac addresses announced to the
mesh network by this node. Each line contains the
following values:
1 - announced mac address
What: /sys/class/net/<mesh_iface>/mesh/vis_mode
Date: May 2010
Contact: Marek Lindner <lindner_marek@yahoo.de>
Description:
Each batman node only maintains information about its
own local neighborhood, therefore generating graphs
showing the topology of the entire mesh is not easily
feasible without having a central instance to collect
the local topologies from all nodes. This file allows
to activate the collecting (server) mode. Once
activated the topology can be retrieved by reading
the vis_data file.
What: /sys/class/net/<mesh_iface>/mesh/vis_data
Date: May 2010
Contact: Marek Lindner <lindner_marek@yahoo.de>
Description:
This file outputs the collected entire mesh topology
information (if available) in a neutral (raw) format.
Each line contains a set of identifiers. Values may
or may not follow depending on their respective
meanings:
* "mac" - mac address of an originator's source
interface (each line begins with it)
* "TQ mac value" - src mac's link quality towards
mac address of a neighbor
originator's interface which is
being used for routing
* "HNA mac" - HNA announced by source mac
* "PRIMARY" - this is a primary interface
* "SEC mac" - secondary mac address of source
(requires preceding PRIMARY)
[-- Attachment #3: sysfs-class-net-batman-adv --]
[-- Type: text/plain, Size: 565 bytes --]
What: /sys/class/net/<iface>/batman-adv/mesh_iface
Date: May 2010
Contact: Marek Lindner <lindner_marek@yahoo.de>
Description:
The /sys/class/net/<iface>/batman-adv/mesh_iface file
displays the batman mesh interface this <iface>
currently is associated with.
What: /sys/class/net/<iface>/batman-adv/iface_status
Date: May 2010
Contact: Marek Lindner <lindner_marek@yahoo.de>
Description:
Indicates the status of <iface> as it is seen by batman.
next reply other threads:[~2010-05-09 3:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-09 3:17 Marek Lindner [this message]
2010-05-09 7:08 ` [B.A.T.M.A.N.] sysfs abi documentation Andrew Lunn
2010-05-09 7:20 ` Marek Lindner
2010-05-09 14:58 ` Sven Eckelmann
2010-05-09 17:44 ` Marek Lindner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201005091117.05627.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox