From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 13 Oct 2009 09:54:31 +0200 From: Andrew Lunn Message-ID: <20091013075431.GE21060@lunn.ch> References: <20091012081122.GB12833@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091012081122.GB12833@lunn.ch> Subject: Re: [B.A.T.M.A.N.] Changing vis output ready for mainline... 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: , To: The list for a Better Approach To Mobile Ad-hoc Networking > "fe:fe:00:00:04:01" -> "fe:fe:00:00:05:01" [label="1.0"] > "fe:fe:00:00:04:01" -> "fe:fe:00:00:03:01" [label="1.0"] > "fe:fe:00:00:04:01" -> "00:ff:7c:3c:ec:e0" [label="HNA"] > subgraph "cluster_fe:fe:00:00:04:01" { > "fe:fe:00:00:04:01" [peripheries=2] > "fe:fe:00:00:04:02" > } > > I suggest something like: > > fe:fe:00:00:04:01 fe:fe:00:00:05:01 255 fe:fe:00:00:03:01 255 00:ff:7c:3c:ec:e0 HNA fe:fe:00:00:04:02 S > > In BNF something like > > > ::= { } > ::= > ::= || > ::= uint8_t > ::= "HNA" > ::= "S" A small refinement: ::= { ","} Adding the comma makes the format more future proof. If in the future we need to add more doublets, triplets, etc we can do it without breaking backwards compatibility. If batctl finds something it does not understand, it skips to the next , separator and keeps going. Andrew