Re: [B.A.T.M.A.N.] [RFC 1/6] batman-adv: Generalize DAT in order to support any type of data, not only IPv4

2013-09-09 Thread Mihail Costea
Hi Antonio, Is it possible to send the new model for the generalization as a patch first (the part without IPv6), or maybe everything as a patch as once? Having 5-6 patches to rewrite every time something changes makes the development harder. Thanks, Mihail On 10 August 2013 23:36, Antonio

Re: [B.A.T.M.A.N.] [RFC 1/6] batman-adv: Generalize DAT in order to support any type of data, not only IPv4

2013-09-09 Thread Antonio Quartulli
On Mon, Sep 09, 2013 at 05:05:47PM +0300, Mihail Costea wrote: Hi Antonio, Is it possible to send the new model for the generalization as a patch first (the part without IPv6), or maybe everything as a patch as once? Having 5-6 patches to rewrite every time something changes makes the

Re: [B.A.T.M.A.N.] [PATCH] alfred: free globals. Fixes memory leak

2013-09-09 Thread Simon Wunderlich
On Mon, Sep 09, 2013 at 03:39:02AM +0200, Nils Schneider wrote: --- main.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 86acfb7..58622f8 100644 --- a/main.c +++ b/main.c @@ -142,6 +142,7 @@ static struct globals

[B.A.T.M.A.N.] [PATCH 7/7] alfred: Allow to switch daemon between slave and master

2013-09-09 Thread Sven Eckelmann
The running daemon may need to be switched between from master to slave mode or from slave to master mode to increase the efficiency of the data distribution network. This must be possible during runtime to avoid the data loss during the switch time. Signed-off-by: Sven Eckelmann

[B.A.T.M.A.N.] [PATCH 6/7] alfred: Fix crash when vis opened empty file

2013-09-09 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@open-mesh.com --- vis/vis.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vis/vis.c b/vis/vis.c index 5e7a109..36ea7fe 100644 --- a/vis/vis.c +++ b/vis/vis.c @@ -59,7 +59,8 @@ static char *read_file(char *fname) }

[B.A.T.M.A.N.] [PATCH 2/7] alfred: Mark all local functions as static

2013-09-09 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@open-mesh.com --- vis/vis.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/vis/vis.c b/vis/vis.c index 5247b31..5e7a109 100644 --- a/vis/vis.c +++ b/vis/vis.c @@ -36,7 +36,7 @@ #include unistd.h

[B.A.T.M.A.N.] [PATCH 5/7] alfred: Remove dead assignment in unix_sock_read

2013-09-09 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@open-mesh.com --- unix_sock.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/unix_sock.c b/unix_sock.c index 6b80f38..e6b22e8 100644 --- a/unix_sock.c +++ b/unix_sock.c @@ -310,8 +310,6 @@ int unix_sock_read(struct globals *globals) if

[B.A.T.M.A.N.] [PATCH 4/7] alfred: Stop client when data header could not be read

2013-09-09 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@open-mesh.com --- client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client.c b/client.c index 3c1916c..2187ff2 100644 --- a/client.c +++ b/client.c @@ -81,6 +81,9 @@ int alfred_client_request_data(struct globals *globals) ret =

[B.A.T.M.A.N.] [PATCH 1/7] alfred: Add missing includes and remove unused includes

2013-09-09 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@open-mesh.com --- alfred.h | 6 ++ batadv_query.c | 13 + client.c | 12 +--- debugfs.c | 10 -- debugfs.h | 3 --- hash.c | 5 +++-- main.c | 11 --- netsock.c | 14

Re: [B.A.T.M.A.N.] [PATCH 2/7] alfred: Mark all local functions as static

2013-09-09 Thread Simon Wunderlich
On Mon, Sep 09, 2013 at 05:46:02PM +0200, Sven Eckelmann wrote: Signed-off-by: Sven Eckelmann s...@open-mesh.com --- vis/vis.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) Applied in revision 65aee8d. Thanks, Simon signature.asc

Re: [B.A.T.M.A.N.] [PATCH 6/7] alfred: Fix crash when vis opened empty file

2013-09-09 Thread Simon Wunderlich
On Mon, Sep 09, 2013 at 05:46:06PM +0200, Sven Eckelmann wrote: Signed-off-by: Sven Eckelmann s...@open-mesh.com --- vis/vis.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Applied in revision 1606d72. Thanks, Simon signature.asc Description: Digital signature

Re: [B.A.T.M.A.N.] [PATCH 1/7] alfred: Add missing includes and remove unused includes

2013-09-09 Thread Simon Wunderlich
On Mon, Sep 09, 2013 at 05:46:01PM +0200, Sven Eckelmann wrote: Signed-off-by: Sven Eckelmann s...@open-mesh.com --- alfred.h | 6 ++ batadv_query.c | 13 + client.c | 12 +--- debugfs.c | 10 -- debugfs.h | 3 --- hash.c |

Re: [B.A.T.M.A.N.] [PATCH] alfred: free globals. Fixes memory leak

2013-09-09 Thread Linus Lüssing
On Mon, Sep 09, 2013 at 05:08:31PM +0200, Simon Wunderlich wrote: Hrm, apart from that this patch lacks a commit message and signoff, what does it help freeing stuff just before the program exits? This will free anything automatically anyway ... Hm, the advantage of freeing such memory

Re: [B.A.T.M.A.N.] Hamburg freifunk geekend02

2013-09-09 Thread Linus Lüssing
Hi andre, We had a little discussion on the batman IRC channel and I guess I could prepare a little presentation about batman-adv and scalability, as well as future plans and patches on the horizon to enhance this from the B.A.T.M.A.N. development side. And for illustration, I can draw some