summaryrefslogtreecommitdiffstats
path: root/genl
Commit message (Collapse)AuthorAgeFilesLines
* support static-only systemsMike Frysinger2009-11-102-0/+21
| | | | | | | | | | | | | | The iptables code supports a "no shared libs" mode where it can be used without requiring dlfcn related functionality. This adds similar support to iproute2 so that it can easily be used on systems like nommu Linux (but obviously with a few limitations -- no dynamic plugins). Rather than modify every location that uses dlfcn.h, I hooked the dlfcn.h header with stub functions when shared library support is disabled. Then symbol lookup is done via a local static lookup table (which is generated automatically at build time) so that internal symbols can be found. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* show multicast groupsJohannes Berg2007-08-221-4/+52
| | | | | | | | Update the included version of the genetlink.h header to the multicast group API and make the generic netlink controller part show multicast groups where applicable. Also fix two typos. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* Eliminate trailing whitespaceStephen Hemminger2006-12-131-1/+1
| | | | Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
* make muticast group to bitmask conversion genericjamal2006-12-131-6/+1
| | | | | | | [utils] make muticast group to bitmask conversion generic Signed-off-by: J Hadi Salim <hadi@cyberus.ca> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
* Add controller support for new features exposedjamal2006-12-061-2/+82
| | | | | | | | | | | | | | | Ok, heres hopefully the last one in this series for generic netlink .. cheers, jamal [GENL]: Add controller support for new features exposed Update the controller to spit out the new features being exposed from the kernel Signed-off-by: J Hadi Salim <hadi@cyberus.ca> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
* Multicast computation off by onejamal2006-12-061-1/+1
| | | | | | | | | | | | | | | | A small typo fixup BTW, how do you like the subject to look like? cheers, jamal [GENL] Multicast computation off by one When using the first 32 groups, the multicast group to bit mapping was off by one. Signed-off-by: Jamal Hadi Salim Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
* genl Makefile LDFLAGSStephen Hemminger2006-10-191-2/+3
| | | | | | | | | | | | | | The current genl Makefile sticks -lm and -ldl into LDFLAGS ... however, this does not create the proper link order as the implicit Makefile rules will place LDFLAGS before object files attached patch uses LDLIBS for -lm and -ldl and make's implicit rule will place them in the proper location also, i removed the -s argument to `install` as install does stripping improperly in many scenarios (such as cross-compiling) ... and in general, it's nice if the decision to strip is handled by the sysadmin -mike
* Add ignore file for new genlStephen Hemminger2006-08-081-0/+1
| | | | Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
* This patch adds a generic netlink controller interface.Jamal Hadi Salim2006-08-084-0/+490
The controller is the only module using this at the moment. Thomas has a sample user of genetlink that would fit here; bug him for it. Signed-off-by: Stephen Hemminger <shemminger@osdl.org>