Re: [B.A.T.M.A.N.] How to detect gateway mode in openwrt?

2012-10-15 Thread Gui Iribarren
On Mon, Oct 15, 2012 at 12:33 PM, Gui Iribarren g...@altermundi.net wrote: Given that it's all posix ash (no binaries), you can probably grab our precompiled packages as well. Ooops.. broken link. Sorry, here's the current one:

[B.A.T.M.A.N.] [PATCH 2/2] batman-adv: fix bla compare function

2012-10-15 Thread Simon Wunderlich
The address and the VLAN VID may not be packed in the respective structs. Fix this by comparing the elements individually. Reported-by: Marek Lindner lindner_ma...@yahoo.de Reported-by: Sven Eckelmann s...@narfation.org Signed-off-by: Simon Wunderlich s...@hrz.tu-chemnitz.de ---

Re: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: move hash_bytes into hash.h

2012-10-15 Thread Marek Lindner
On Tuesday, October 16, 2012 04:23:15 Simon Wunderlich wrote: /** + * batadv_hash_bytes - hash some bytes and add them to the previous hash + * @hash: previous hash value + * @data: data to be hashed + * @size: number of bytes to be hashed + * + * Returns 0 on success,

[B.A.T.M.A.N.] [PATCHv2 2/2] batman-adv: fix bla compare function

2012-10-15 Thread Simon Wunderlich
The address and the VLAN VID may not be packed in the respective structs. Fix this by comparing the elements individually. Reported-by: Marek Lindner lindner_ma...@yahoo.de Reported-by: Sven Eckelmann s...@narfation.org Signed-off-by: Simon Wunderlich s...@hrz.tu-chemnitz.de ---

Re: [B.A.T.M.A.N.] [PATCHv2 2/2] batman-adv: fix bla compare function

2012-10-15 Thread Marek Lindner
On Tuesday, October 16, 2012 04:38:04 Simon Wunderlich wrote: The address and the VLAN VID may not be packed in the respective structs. Fix this by comparing the elements individually. Reported-by: Marek Lindner lindner_ma...@yahoo.de Reported-by: Sven Eckelmann s...@narfation.org

Re: [B.A.T.M.A.N.] [PATCHv79.4] batman-adv: Add wrapper to look up neighbor and send skb

2012-10-15 Thread Sven Eckelmann
On Saturday 13 October 2012 19:52:32 Martin Hundebøll wrote: +/** + * batadv_send_skb_to_orig - Lookup next-hop and transmit skb. + * @skb: Packet to be transmitted. + * @orig_node: Final destination of the packet. + * @recv_if: Interface used to receive the packet. + * + * Looks up the

Re: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: support array of debugfs general attributes

2012-10-15 Thread Sven Eckelmann
On Sunday 14 October 2012 22:03:00 Antonio Quartulli wrote: This patch adds support for an array of debugfs general (not soft_iface specific) attributes. With this change it will be possible to add more general attributes by simply appending them to the array without touching the rest of the

Re: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: export compatibility version via debugfs

2012-10-15 Thread Sven Eckelmann
On Sunday 14 October 2012 22:03:01 Antonio Quartulli wrote: Different versions of the batman-adv module may use the same compatibility version, but this is not understandable at runtime (the only way is to parse the kernel log and fetch the batman-adv advertisement message on loading). The