public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH 0/3] batctl: Use libnl(-tiny) for netlink communication
@ 2014-01-06 19:35 Sven Eckelmann
  2014-01-06 19:37 ` [B.A.T.M.A.N.] [PATCH 1/3] batctl: Avoid name clash "rtnl_open" with libnl Sven Eckelmann
  2014-01-16 21:11 ` [B.A.T.M.A.N.] [PATCH 0/3] batctl: Use libnl(-tiny) for netlink communication Antonio Quartulli
  0 siblings, 2 replies; 10+ messages in thread
From: Sven Eckelmann @ 2014-01-06 19:35 UTC (permalink / raw)
  To: B.A.T.M.A.N

[-- Attachment #1: Type: text/plain, Size: 1222 bytes --]

Hi,

the current release 2014.0.0 made some problems for me because Debian the new 
function "rtnl_open" conflicted with libnl-3.0. libnl-3.0 was used in the 
Debian package to follow the Debian policy chapter 4 about duplicated code.

Using libnl should not be a problem for any linux system because everyone uses 
it when wireless configuration is done. For example libnl-tiny is already used 
by the normal OpenWrt system in base system packages:

 * netifd
 * swconfig
 * authsae
 * hostapd
 * iproute2
 * iw
 * iwinfo

So it is nearly impossible to not have installed ;)

An additional benefit is the already tested code, better type checks and more 
linear code instead of lot of loops to parse the data.

The Makefile is written in such a way that it:

 * tries to find pkg-config (can be overwritten by setting PKG_CONFIG as
    environment variable/make parameter)
 * tries to find the libnl CFLAGS + LDLIBS (can be avoided by setting
    LIBNL_CFLAGS/LIBNL_LDLIBS as environment variable/make parameter)
 ** the search for the CFLAGS + LDLIBS is done using pkg-config using the
    library name libnl-3.0 (this can be changed by setting LIBNL_NAME
    as environment variable/make parameter)

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-27  6:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 19:35 [B.A.T.M.A.N.] [PATCH 0/3] batctl: Use libnl(-tiny) for netlink communication Sven Eckelmann
2014-01-06 19:37 ` [B.A.T.M.A.N.] [PATCH 1/3] batctl: Avoid name clash "rtnl_open" with libnl Sven Eckelmann
2014-01-06 19:37   ` [B.A.T.M.A.N.] [PATCH 2/3] batctl: Use libnl to implement mac resolver Sven Eckelmann
2014-01-23  8:21     ` Marek Lindner
2014-01-06 19:37   ` [B.A.T.M.A.N.] [PATCH 3/3] batctl: Use libnl to implement vlan parent device resolver Sven Eckelmann
2014-01-27  6:22     ` Marek Lindner
2014-01-23  7:28   ` [B.A.T.M.A.N.] [PATCH 1/3] batctl: Avoid name clash "rtnl_open" with libnl Marek Lindner
2014-01-16 21:11 ` [B.A.T.M.A.N.] [PATCH 0/3] batctl: Use libnl(-tiny) for netlink communication Antonio Quartulli
2014-01-17  9:37   ` Sven Eckelmann
2014-01-19 10:20     ` Antonio Quartulli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox