Re: [OpenWrt-Devel] [RFC] libubox/binary.h design proposal

2015-10-04 Thread Javier Domingo Cansino
Hi Etienne, Sorry if I didn't express myself correctly. I meant that I have to create code to communicate through that protocol. I am not designing a protocol. Anyway, I was more interested on feedback from similar libraries or about the design of the library. Cheers! On Sun, Oct 4, 2015 at 10:3

Re: [OpenWrt-Devel] [RFC] libubox/binary.h design proposal

2015-10-04 Thread Etienne Champetier
Hi, 2015-10-04 22:47 GMT+02:00 Javier Domingo Cansino : > Hello, > > I asked Friday on IRC how to write blobs, I was suggested using > blob_raw_put from libubox/blob.h, but as I have to implement a binary > protocol that uses different endianess, non aligned data etc., I think the > best solution

[OpenWrt-Devel] [PATCH] lantiq: Change the data-type of mac address in ETOP driver

2015-10-04 Thread Martin Blumenstingl
This adds the changes from r46219 to the linux 4.1 patches as well. Signed-off-by: Martin Blumenstingl --- It seems that I forgot to include these in the original patchset which added the 4.1 patches for the lantiq target. Thanks to Mathias Kresin for finding this. .../lantiq/patches-4.1/0028-N

[OpenWrt-Devel] [RFC] libubox/binary.h design proposal

2015-10-04 Thread Javier Domingo Cansino
Hello, I asked Friday on IRC how to write blobs, I was suggested using blob_raw_put from libubox/blob.h, but as I have to implement a binary protocol that uses different endianess, non aligned data etc., I think the best solution is creating a set of helper functions to write/read blobs. As this

Re: [OpenWrt-Devel] [PATCH] libnl: split into smaller libraries

2015-10-04 Thread Baptiste Jonglez
On Sat, Oct 03, 2015 at 01:10:18PM +0200, Felix Fietkau wrote: > > As far as I understood this, libnl-tiny is a drop-in replacement for > > libnl-core. Or is there a difference in functionality or API/ABI? > libnl-tiny replaces the most commonly used parts of libnl-core + -genl. > The API is a bit

[OpenWrt-Devel] [PATCH] libnl: Fix URL

2015-10-04 Thread Baptiste Jonglez
From: Baptiste Jonglez Signed-off-by: Baptiste Jonglez --- package/libs/libnl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libs/libnl/Makefile b/package/libs/libnl/Makefile index 241e9a7..c5873fd 100644 --- a/package/libs/libnl/Makefile +++ b/package/

[OpenWrt-Devel] [PATCH] kernel: update 4.1 to 4.1.9

2015-10-04 Thread Mathias Kresin
Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 096-ipv4-off-by-one-in-c