<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.org.freifunk.batman">
    <title>gmane.org.freifunk.batman</title>
    <link>http://blog.gmane.org/gmane.org.freifunk.batman</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7200"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7198"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7197"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7196"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7195"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7186"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7167"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7152"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7143"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7124"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7108"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7107"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7098"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7086"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7084"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7082"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7062"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7060"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7049"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.org.freifunk.batman/7023"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7200">
    <title>hotplug.d</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7200</link>
    <description>&lt;pre&gt;Hi all,

there is an error in /etc/hotplug.d/net/99-batman-adv at line 9.

The function that be called is bat_config and not config_bat

Could someone fix it in latest batman-adv stable release?

Rgds

&lt;/pre&gt;</description>
    <dc:creator>Filippo Sallemi</dc:creator>
    <dc:date>2012-05-26T17:33:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7198">
    <title>Can't create new originator</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7198</link>
    <description>&lt;pre&gt;Hi.
I saw strange batman logs while testing a batman-adv mesh. Batman-adv module was continuously generating the same logs including a " Creating new originator: b0:c6:9b:80:01:43". But b0:c6:9b:80:01:43 never appears in the output of 'batctl o':
admin&amp;lt; at &amp;gt;HND-Mesh:~# batctl o
[B.A.T.M.A.N. adv 2012.0.0, MainIF/MAC: wlan0/b0:c6:9b:80:01:5b (bat0)]
  Originator      last-seen (#/255)           Nexthop [outgoingIF]:   Potential nexthops ...
b0:c6:9b:80:01:5c    0.010s   (255) b0:c6:9b:80:01:5c [     wlan0]: b0:c6:9b:80:01:5f (209) b0:c6:9b:80:01:6b (231) b0:c6:9b:80:01:6b (227) b0:c6:9b:80:01:5c (255) b0:c6:9b:80:01:5c (  0)
b0:c6:9b:80:01:45    3.830s   (223) b0:c6:9b:80:01:5f [     wlan0]: b0:c6:9b:80:01:5c (209) b0:c6:9b:80:01:6b (  0) b0:c6:9b:80:01:6b (  0) b0:c6:9b:80:01:5f (223)
b0:c6:9b:80:01:6b    4.520s   (255) b0:c6:9b:80:01:6b [     wlan0]: b0:c6:9b:80:01:5f (206) b0:c6:9b:80:01:5c (245) b0:c6:9b:80:01:6b (255) b0:c6:9b:80:01:6b (251)
b0:c6:9b:80:01:3b    1.570s   (237) b0:c6:9b:80:01:5f [     wlan0]: &lt;/pre&gt;</description>
    <dc:creator>puyou.lu</dc:creator>
    <dc:date>2012-05-26T09:20:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7197">
    <title>[PATCH] batman-adv: Use batctl indentation ofbat_packettype</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7197</link>
    <description>&lt;pre&gt;The style of the indentation was changed in
206af118414355e867e725ea83bc3a2989db5a40

Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 packet.h |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/packet.h b/packet.h
index 205879e..c90219c 100644
--- a/packet.h
+++ b/packet.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -23,14 +23,14 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #define ETH_P_BATMAN  0x4305/* unofficial/not registered Ethertype */
 
 enum bat_packettype {
-BAT_IV_OGM       = 0x01,
-BAT_ICMP         = 0x02,
-BAT_UNICAST      = 0x03,
-BAT_BCAST        = 0x04,
-BAT_VIS          = 0x05,
+BAT_IV_OGM = 0x01,
+BAT_ICMP = 0x02,
+BAT_UNICAST = 0x03,
+BAT_BCAST = 0x04,
+BAT_VIS = 0x05,
 BAT_UNICAST_FRAG = 0x06,
-BAT_TT_QUERY     = 0x07,
-BAT_ROAM_ADV     = 0x08
+BAT_TT_QUERY = 0x07,
+BAT_ROAM_ADV = 0x08
 };
 
 /* this file is included by batctl which needs these defines */
&lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-25T06:55:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7196">
    <title>[PATCHv2] batman-adv: beautify tt_global_add()argument list</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7196</link>
    <description>&lt;pre&gt;Instead of adding a new bool argument each time it is needed, it is better (and
simpler) to pass an 8bit flag argument which contains all the needed flags

Signed-off-by: Antonio Quartulli &amp;lt;ordex-GaUfNO9RBHfsrOwW+9ziJQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---

changes in v2:
- rebased on top of the last patches for code restyling

 routing.c           |    4 ++--
 translation-table.c |   24 +++++++++---------------
 translation-table.h |    4 ++--
 3 files changed, 13 insertions(+), 19 deletions(-)

diff --git a/routing.c b/routing.c
index c3160be..1260253 100644
--- a/routing.c
+++ b/routing.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -697,8 +697,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int batadv_recv_roam_adv(struct sk_buff *skb, struct hard_iface *recv_if)
    roam_adv_packet-&amp;gt;src, roam_adv_packet-&amp;gt;client);
 
 batadv_tt_global_add(bat_priv, orig_node, roam_adv_packet-&amp;gt;client,
-     atomic_read(&amp;amp;orig_node-&amp;gt;last_ttvn) + 1, true,
-     false);
+     TT_CLIENT_ROAM,
+     atomic_read(&amp;amp;orig_node-&amp;gt;last_ttvn) + 1);
 
 /* Roaming phase starts: I have new information but the ttvn has not
 &lt;/pre&gt;</description>
    <dc:creator>Antonio Quartulli</dc:creator>
    <dc:date>2012-05-24T22:00:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7195">
    <title>[PATCHv3] batman-adv: clear ADD+DEL (and viceversa)events in the same orig-interval</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7195</link>
    <description>&lt;pre&gt;During an OGM-interval (time between two different OGM sendings) the same client
could roam away and then roam back to us. In this case the node would add two
events to the events list (that is going to be sent appended to the next OGM). A
DEL one and an ADD one. Obviously they will only increase the overhead (either in
the air and on the receiver side) and eventually trigger wrong states/events
without producing any real effect.

For this reason we can safely delete any ADD event with its related DEL one.

Signed-off-by: Antonio Quartulli &amp;lt;ordex-GaUfNO9RBHfsrOwW+9ziJQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---

changes in v3:
- rebased on top of the last patches for code restyling

 translation-table.c |   40 +++++++++++++++++++++++++++++++++++++---
 1 file changed, 37 insertions(+), 3 deletions(-)

diff --git a/translation-table.c b/translation-table.c
index cb1d3a8..2c8266a 100644
--- a/translation-table.c
+++ b/translation-table.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -156,7 +156,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; batadv_tt_orig_list_entry_free_ref(struct tt_orig_list_entry *orig_entry)
 &lt;/pre&gt;</description>
    <dc:creator>Antonio Quartulli</dc:creator>
    <dc:date>2012-05-24T22:00:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7186">
    <title>[PATCH] batman-adv: Avoid gcc inline problems withvararg functions</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7186</link>
    <description>&lt;pre&gt;gcc doesn't support the inlining of functions using vararg. Sparse fails to
build the source when having such functions marked using the keyword "inline".

This problem was introduced in 3b896e321c49e3cbbfd540f537c007db883c3900

Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 main.h |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/main.h b/main.h
index 977de45..4721c86 100644
--- a/main.h
+++ b/main.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -196,6 +196,17 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static inline void batadv_vdbg(int type, struct bat_priv *bat_priv,
 batadv_debug_log(bat_priv, fmt, args);
 }
 
+__printf(3, 4)
+static inline void batadv_dbg(int type, struct bat_priv *bat_priv,
+       const char *fmt, ...)
+{
+va_list args;
+
+va_start(args, fmt);
+batadv_vdbg(type, bat_priv, fmt, args);
+va_end(args);
+}
+
 #else /* !CONFIG_BATMAN_ADV_DEBUG */
 
 static inline void batadv_vdbg(int type __always_unused,
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -205,19 +216,14 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static inline void batadv_vdbg(int type __always_unused,
 {
 &lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-19T07:37:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7167">
    <title>[PATCH] batman-adv: Revert Distributed ARP Table</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7167</link>
    <description>&lt;pre&gt;David S. Miller did not like the idea of batman-adv modifying and reading the
ARP table and refused to pull this feature. It has to be rewritten after an
acceptable solution was found.

This reverts following commits:
 * batman-adv: add UNICAST_4ADDR packet type
 * batman-adv: add a new log level for DAT debugging
 * batman-adv: Distributed ARP Table - create DHT helper functions
 * batman-adv: Distributed ARP Table - add ARP parsing functions
 * batman-adv: Distributed ARP Table - add snooping functions for ARP messages
 * batman-adv: Distributed ARP Table - increase default soft_iface ARP table timeout
 * batman-adv: Distributed ARP Table - add compile option

Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
This patch is for next... I repeat: this patch is for the branch next

 Makefile                |    2 -
 Makefile.kbuild         |    1 -
 README                  |    3 +-
 README.external         |    1 -
 bat_sysfs.c             |    2 +-
 distributed-arp-table.c |  &lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-17T15:18:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7152">
    <title>Remaining cleanup/prefixing patches</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7152</link>
    <description>&lt;pre&gt;Hi,

it seems that just too many changes were done and now all were committed in 
the order or the version that I send to the mailinglist. Therefore, I would 
ask to ignore all my remaining patches and wait for the the complete list of 
patches not yet committed. I will send them to this mailing list in some 
hours.

Thanks,
Sven&lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-16T17:38:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7143">
    <title>[PATCH] batman-adv: Correctly check return valuefrom debugfs_create_dir</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7143</link>
    <description>&lt;pre&gt;The setup code in batadv_socket_setup() and debug_log_setup() wrongly
assumes that debugfs_create_file() returns !0 on error. Since it
actually returns a pointer on success[1], the following check should
be inverted.

Also, use the return value from the two setup functions in
batadv_debugfs_add_meshif().

[1] http://www.fsl.cs.sunysb.edu/kernel-api/re464.html

Signed-off-by: Martin Hundebøll &amp;lt;martin-SHBFXCSm21MJGwgDXS7ZQA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 bat_debugfs.c |   11 +++++++----
 icmp_socket.c |    4 ++--
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/bat_debugfs.c b/bat_debugfs.c
index cd636db..bd9325d 100644
--- a/bat_debugfs.c
+++ b/bat_debugfs.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -193,13 +193,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int debug_log_setup(struct bat_priv *bat_priv)
 
 d = debugfs_create_file("log", S_IFREG | S_IRUSR,
 bat_priv-&amp;gt;debug_dir, bat_priv, &amp;amp;log_fops);
-if (d)
+if (!d)
 goto err;
 
 return 0;
 
 err:
-return 1;
+return -ENOMEM;
 }
 
 static void debug_log_cleanup(struct bat_priv *bat_priv)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -347,8 +347,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int&lt;/pre&gt;</description>
    <dc:creator>Martin Hundebøll</dc:creator>
    <dc:date>2012-05-15T22:06:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7124">
    <title>Some problems with batman-adv</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7124</link>
    <description>&lt;pre&gt;Hello,

i try to set up a ad-hoc-mesh network with batman-adv.

There are three test-nodes with following configuration:

Nvidia Tegra 2 Dual Core ARM-Cortex A9 Processor with Linux 2.6.36.2
USB-Wifi Dongle with Ralink 5370 Chipset
Ralink rt5370sta driver kernel module
batman-adv 2012.1.0 (also tried with 2012.0.0)

I've set up the ad-hoc network with WPA-Encryption. This is working
fine. I can access all nodes if i configure the ra0 (ralink wifi)
interface with static ip addresses. I've done this for testing purpose
only. Normally only the bat0 interface has an ip address.

After wireless connection is established I activate the batman-adv
interface.

Example from first node:
modprobe batman-adv
batctl if add ra0                                                   
ifconfig bat0 up                                                      
ifconfig bat0 192.168.50.1 netmask 255.255.255.0
ifconfig bat0 mtu 1472

After booting up all nodes "batctl o" returns:
# batctl o
[B.A.T.M.A.N. adv 2012.1.0, MainIF/MAC: ra0/80&lt;/pre&gt;</description>
    <dc:creator>Jochen Jägers</dc:creator>
    <dc:date>2012-05-14T15:53:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7108">
    <title>[PATCH] batman-adv: beautify tt_global_add()argument list</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7108</link>
    <description>&lt;pre&gt;Instead of adding a new bool argument each time it is needed, it is better (and
simpler) to pass an 8bit flag argument which contains all the needed flags

Signed-off-by: Antonio Quartulli &amp;lt;ordex-GaUfNO9RBHfsrOwW+9ziJQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 routing.c           |    2 +-
 translation-table.c |   19 +++++++------------
 translation-table.h |    3 +--
 3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/routing.c b/routing.c
index e4d13dc..6c50b1d 100644
--- a/routing.c
+++ b/routing.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -686,7 +686,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int recv_roam_adv(struct sk_buff *skb, struct hard_iface *recv_if)
 roam_adv_packet-&amp;gt;src, roam_adv_packet-&amp;gt;client);
 
 tt_global_add(bat_priv, orig_node, roam_adv_packet-&amp;gt;client,
-      atomic_read(&amp;amp;orig_node-&amp;gt;last_ttvn) + 1, true, false);
+      TT_CLIENT_ROAM, atomic_read(&amp;amp;orig_node-&amp;gt;last_ttvn) + 1);
 
 /* Roaming phase starts: I have new information but the ttvn has not
  * been incremented yet. This flag will make me check all the incoming
diff --git a/translation-table.c b/translatio&lt;/pre&gt;</description>
    <dc:creator>Antonio Quartulli</dc:creator>
    <dc:date>2012-05-14T07:44:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7107">
    <title>[PATCH] batman-adv: clear ADD+DEL (and viceversa)events in the same orig-interval</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7107</link>
    <description>&lt;pre&gt;During an OGM-interval (time between two different OGM sendings) the same client
could roam away and then roam back to us. In this case the node would add two
events to the events list (that is going to be sent appended to the next OGM). A
DEL one and an ADD one. Obviously they will only increase the overhead (either in
the air and on the receiver side) and eventually trigger wrong states/events
without producing any real effect.

For this reason we can safely delete any ADD event with its related DEL one.

Signed-off-by: Antonio Quartulli &amp;lt;ordex-GaUfNO9RBHfsrOwW+9ziJQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 translation-table.c |   41 ++++++++++++++++++++++++++++++++++++++---
 1 file changed, 38 insertions(+), 3 deletions(-)

diff --git a/translation-table.c b/translation-table.c
index 2ecf3a2..c134a29 100644
--- a/translation-table.c
+++ b/translation-table.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -154,7 +154,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void tt_orig_list_entry_free_ref(struct tt_orig_list_entry *orig_entry)
 static void tt_local_event(struct bat_priv *bat_priv, const uint8_t&lt;/pre&gt;</description>
    <dc:creator>Antonio Quartulli</dc:creator>
    <dc:date>2012-05-14T07:32:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7098">
    <title>pull request: batman-adv 2012-05-14</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7098</link>
    <description>&lt;pre&gt;Hello David,

here is our last set of changes intended for net-next/linux-3.5.
In this patchset there are:

1) several minor cleanups and fixes
2) an optimisation that avoid to linearise the whole packet when not needed
3) an optimisation for client traffic rerouting after a roaming event.

Patches that modify the whole naming schema will be sent later for merging
with linux-3.6.

Thank you,
Antonio

The following changes since commit f96a8a0b78548c0ec06b0b4b438db6ee895d67e9:

  igb: Add Support for new i210/i211 devices. (2012-05-12 13:17:13 -0700)

are available in the git repository at:

  git://git.open-mesh.org/linux-merge.git tags/batman-adv-for-davem

for you to fetch changes up to 521251f2f5fa16747cc21e71580e404af855d140:

  batman-adv: unset the TT_CLIENT_PENDING flag if the new local entry already exists (2012-05-14 09:05:08 +0200)

----------------------------------------------------------------
Included changes:

* an improvement to avoid to linearise the whole received packet when not needed
* &lt;/pre&gt;</description>
    <dc:creator>Antonio Quartulli</dc:creator>
    <dc:date>2012-05-14T07:17:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7086">
    <title>[PATCH] batman-adv: Directly print to seq_file in vis</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7086</link>
    <description>&lt;pre&gt;The vis output doesn't need to be buffered in an character buffer before it can
be send to the userspace program that reads from the vis debug file.

Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 vis.c |  228 ++++++++++++++++++++++++-----------------------------------------
 1 file changed, 83 insertions(+), 145 deletions(-)

diff --git a/vis.c b/vis.c
index 6b7a1c0..3095c41 100644
--- a/vis.c
+++ b/vis.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -140,72 +140,117 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void batadv_vis_data_insert_interface(const uint8_t *interface,
 hlist_add_head(&amp;amp;entry-&amp;gt;list, if_list);
 }
 
-static ssize_t batadv_vis_prim_sec(char *buff, const struct hlist_head *if_list)
+static void batadv_vis_data_read_prim_sec(struct seq_file *seq,
+  const struct hlist_head *if_list)
 {
 struct if_list_entry *entry;
 struct hlist_node *pos;
-size_t len = 0;
 
 hlist_for_each_entry(entry, pos, if_list, list) {
 if (entry-&amp;gt;primary)
-len += sprintf(buff + len, "PRIMARY, ");
+seq_printf(seq, "PRIMARY, ");
 else
-len&lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-13T09:39:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7084">
    <title>[PATCH 1/2] batman-adv: Replace simple function likedefines with functions</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7084</link>
    <description>&lt;pre&gt;Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 bat_debugfs.c           |    5 +---
 distributed-arp-table.c |   75 +++++++++++++++++++++++++++++++++--------------
 distributed-arp-table.h |    8 -----
 main.h                  |   37 +++++++++++++++--------
 4 files changed, 79 insertions(+), 46 deletions(-)

diff --git a/bat_debugfs.c b/bat_debugfs.c
index 004d94f..b4d622b 100644
--- a/bat_debugfs.c
+++ b/bat_debugfs.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -74,16 +74,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int batadv_fdebug_log(struct debug_log *debug_log, const char *fmt, ...)
 return 0;
 }
 
-int batadv_debug_log(struct bat_priv *bat_priv, const char *fmt, ...)
+int batadv_debug_log(struct bat_priv *bat_priv, const char *fmt, va_list args)
 {
-va_list args;
 char tmp_log_buf[256];
 
-va_start(args, fmt);
 vscnprintf(tmp_log_buf, sizeof(tmp_log_buf), fmt, args);
 batadv_fdebug_log(bat_priv-&amp;gt;debug_log, "[%10u] %s",
   jiffies_to_msecs(jiffies), tmp_log_buf);
-va_end(args);
 
 return 0;
 }
diff --git a/distributed-arp-table.&lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-13T09:01:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7082">
    <title>[PATCH] batman-adv: Mark only locally used symbolbatadv_tt_local_crc as static</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7082</link>
    <description>&lt;pre&gt;29ccfec94d51f7725124786e29d023b212920661 changed the translation table code in
such a way that it doesn't use the symbol tt_local_crc outside of
translation-table.c

Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 translation-table.c |    2 +-
 translation-table.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/translation-table.c b/translation-table.c
index f50e795..62dda2b 100644
--- a/translation-table.c
+++ b/translation-table.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1172,7 +1172,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static uint16_t batadv_tt_global_crc(struct bat_priv *bat_priv,
 }
 
 /* Calculates the checksum of the local table */
-uint16_t batadv_tt_local_crc(struct bat_priv *bat_priv)
+static uint16_t batadv_tt_local_crc(struct bat_priv *bat_priv)
 {
 uint16_t total = 0, total_one;
 struct hashtable_t *hash = bat_priv-&amp;gt;tt_local_hash;
diff --git a/translation-table.h b/translation-table.h
index 56e8016..7edc9df 100644
--- a/translation-table.h
+++ b/translation-table.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -41,7 +41,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; void batadv_tt_global&lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-13T06:45:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7062">
    <title>[PATCH 01/18] batman-adv: Prefix bat_debugfs localstatic functions with batadv_</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7062</link>
    <description>&lt;pre&gt;All non-static symbols of batman-adv were prefixed with batadv_ to avoid
collisions with other symbols of the kernel. Other symbols of batman-adv
should use the same prefix to keep the naming scheme consistent.

Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 bat_debugfs.c |  143 +++++++++++++++++++++++++++++----------------------------
 1 file changed, 72 insertions(+), 71 deletions(-)

diff --git a/bat_debugfs.c b/bat_debugfs.c
index cd636db..004d94f 100644
--- a/bat_debugfs.c
+++ b/bat_debugfs.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -32,25 +32,25 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #include "icmp_socket.h"
 #include "bridge_loop_avoidance.h"
 
-static struct dentry *bat_debugfs;
+static struct dentry *batadv_debugfs;
 
 #ifdef CONFIG_BATMAN_ADV_DEBUG
-#define LOG_BUFF_MASK (log_buff_len-1)
+#define LOG_BUFF_MASK (batadv_log_buff_len - 1)
 #define LOG_BUFF(idx) (debug_log-&amp;gt;log_buff[(idx) &amp;amp; LOG_BUFF_MASK])
 
-static int log_buff_len = LOG_BUF_LEN;
+static int batadv_log_buff_len = LOG_BUF_LEN;
 
-static void emit_log_char(struct debug_log &lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-12T16:33:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7060">
    <title>[PATCH] batman-adv: fix comment style and typo</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7060</link>
    <description>&lt;pre&gt;Fix to David's style

Introduced by b46c60b9e1ee7a1909c542413a85875a750955d6

Signed-off-by: Antonio Quartulli &amp;lt;ordex-GaUfNO9RBHfsrOwW+9ziJQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---

This patch is for next


 routing.c           |    3 ++-
 translation-table.c |    3 ++-
 unicast.c           |    5 +++--
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/routing.c b/routing.c
index 2181a91..4f2059f 100644
--- a/routing.c
+++ b/routing.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -922,7 +922,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int check_unicast_ttvn(struct bat_priv *bat_priv,
 sizeof(struct unicast_packet));
 
 /* we don't have an updated route for this client, so we should
- * not try to reroute the packet!! */
+ * not try to reroute the packet!!
+ */
 if (tt_global_client_is_roaming(bat_priv, ethhdr-&amp;gt;h_dest))
 return 1;
 
diff --git a/translation-table.c b/translation-table.c
index 88e4c8e..a66c2dc 100644
--- a/translation-table.c
+++ b/translation-table.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -2122,7 +2122,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; request_table:
 
 /* returns true whether we know that the client has moved from it&lt;/pre&gt;</description>
    <dc:creator>Antonio Quartulli</dc:creator>
    <dc:date>2012-05-12T12:38:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7049">
    <title>[PATCH 1/8] batman-adv: Move hash_ipv4 todistributed-arp-table.c</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7049</link>
    <description>&lt;pre&gt;hash_ipv4 is only used in distributed-arp-table.c and therefore can be placed
inside this file instead of the header.

Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 distributed-arp-table.c |   24 +++++++++++++++++++++++-
 distributed-arp-table.h |   22 ----------------------
 2 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/distributed-arp-table.c b/distributed-arp-table.c
index e678ec4..4894a85 100644
--- a/distributed-arp-table.c
+++ b/distributed-arp-table.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -32,6 +32,28 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #include "translation-table.h"
 #include "unicast.h"
 
+/* hash function to choose an entry in a hash table of given size.
+ * hash algorithm from http://en.wikipedia.org/wiki/Hash_table
+ */
+static uint32_t batadv_hash_ipv4(const void *data, uint32_t size)
+{
+const unsigned char *key = data;
+uint32_t hash = 0;
+size_t i;
+
+for (i = 0; i &amp;lt; 4; i++) {
+hash += key[i];
+hash += (hash &amp;lt;&amp;lt; 10);
+hash ^= (hash &amp;gt;&amp;gt; 6);
+}
+
+hash += (hash &amp;lt;&amp;lt; 3);
+hash ^= (hash &amp;gt;&amp;gt; 11);
+ha&lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-12T11:48:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7023">
    <title>[PATCHv3 01/23] batman-adv: Fix namespace forhash_set_lock_class</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7023</link>
    <description>&lt;pre&gt;This function was introduced in 2c9aa3b4c37bd55148f5f25212c89e7bf5f28497
without a proper namespace prefix.

Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 bridge_loop_avoidance.c |    7 ++++---
 hash.c                  |    3 ++-
 hash.h                  |    3 ++-
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/bridge_loop_avoidance.c b/bridge_loop_avoidance.c
index 89e9721..314e37b 100644
--- a/bridge_loop_avoidance.c
+++ b/bridge_loop_avoidance.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1172,9 +1172,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int bla_init(struct bat_priv *bat_priv)
 if (!bat_priv-&amp;gt;claim_hash || !bat_priv-&amp;gt;backbone_hash)
 return -ENOMEM;
 
-hash_set_lock_class(bat_priv-&amp;gt;claim_hash, &amp;amp;claim_hash_lock_class_key);
-hash_set_lock_class(bat_priv-&amp;gt;backbone_hash,
-    &amp;amp;backbone_hash_lock_class_key);
+batadv_hash_set_lock_class(bat_priv-&amp;gt;claim_hash,
+   &amp;amp;claim_hash_lock_class_key);
+batadv_hash_set_lock_class(bat_priv-&amp;gt;backbone_hash,
+   &amp;amp;backbone_hash_lock_class_key);
 
 bat_dbg(DBG_BLA, bat_priv, "bl&lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-12T00:09:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.org.freifunk.batman/7011">
    <title>[PATCHv2 1/3] batman-adv: Prefix non-staticfunctions with batadv_</title>
    <link>http://comments.gmane.org/gmane.org.freifunk.batman/7011</link>
    <description>&lt;pre&gt;batman-adv can be compiled as part of the kernel instead of an module. In that
case the linker will see all non-static symbols of batman-adv and all other
non-static symbols of the kernel. This could lead to symbol collisions. A
prefix for the batman-adv symbols that defines their private namespace avoids
such a problem.

Reported-by: David Miller &amp;lt;davem-fT/PcQaiUtIeIZ0/mPfg9Q&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
Signed-off-by: Sven Eckelmann &amp;lt;sven-KaDOiPu9UxWEi8DpZVb4nw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 bat_algo.h              |    2 +-
 bat_debugfs.c           |   31 +++----
 bat_debugfs.h           |    8 +-
 bat_iv_ogm.c            |  130 ++++++++++++++--------------
 bat_sysfs.c             |   34 ++++----
 bat_sysfs.h             |   13 +--
 bitarray.c              |    8 +-
 bitarray.h              |    4 +-
 bridge_loop_avoidance.c |   46 +++++-----
 bridge_loop_avoidance.h |   65 +++++++-------
 compat.c                |    8 +-
 compat.h                |    2 +-
 distributed-arp-table.c |   46 +++++-----
 distributed-arp-table.&lt;/pre&gt;</description>
    <dc:creator>Sven Eckelmann</dc:creator>
    <dc:date>2012-05-11T19:26:08</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.org.freifunk.batman">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.org.freifunk.batman</link>
  </textinput>
</rdf:RDF>

