summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2020-10-22build: find and use libnl header dirsYousong Zhou
Name of the libnl .pc file is libnl-3.0.pc This commit is mainly for testing netifd build on usual Linux systems. netifd Makefile in current OpenWrt build system specifies custom cmake flags to directly point to libnl-tiny Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-09-11CMakeList: Check that compiler supports -Wimplicit-fallthroughFlorian Fainelli
This is a GCC >= 7 feature, not all compilers support it. Fixes: 908a9f4f1027 ("CMakeLists.txt: add -Wimplicit-fallthrough to the compiler flags") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2018-07-11CMakeLists.txt: add -Wimplicit-fallthrough to the compiler flagsAlexander Couzens
Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Acked-by: Hans Dedecker <dedeckeh@gmail.com>
2017-05-09build: disable unknown warning option error in clangFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-05-04build: suppress format truncation warnings to avoid errors with gcc7Felix Fietkau
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-02-11device: add veth supportMatthias Schiffer
The veth config code mostly handles the primary interface of a veth pair, the secondary interface is not explicitly referenced and will be found as an unrelated interface after the pair has been created. This doesn't only allow us to keep the veth code simple (and similar to existing device handlers), but will also avoid complicating handling unnecessarily in case the secondary interface is moved into another network namespace. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-12-24remove obsolete /opt/local prefix on Mac OS XFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2015-03-06netifd: fixes for json-c 0.12John Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-06-11Add vlan 802.1q/802.1ad support as netifd devicesGioacchino Mazzurco
At moment netifd supports just 802.1q vlan, you can configure them using a concise but "hacky" syntax using an interface config section, with this patch netifd acquire the capability of configuring 802.1ad and 802.1q vlan using config device sections, so you can define a vlan device plus interface with something like this: config device 'test' option type '8021ad' option name 'test' option ifname 'eth0' option vid '1000' config interface 'testif' option ifname 'test' option proto 'none' option auto '1' old syntax for 802.1q keeps working so no retrocompatibility problems, to keep retrocompatibility means also that user must not use name/ifname like eth0.2 for devices declared with the new style because this would trigger the "old style" when interface config section is parsed Signed-off-by: Gioacchino Mazzurco <gmazzurco89@gmail.com>
2013-11-29add initial support for handling wireless devices via scriptsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22proto-shell: move script handler dump code to handler.cFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-03device: add macvlan supportFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2013-04-04Add support for ip rulesJo-Philipp Wich
2013-03-04fix libnl detectionThomas Gstädtner
2013-02-11prefer to link against libjson-c over libjson (the new library name in git ↵Felix Fietkau
versions of json-c) Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-09-06add optional flag for disabling compiler optimization (debug only)Felix Fietkau
2012-07-05split alias support into a separate source file for better readabilityFelix Fietkau
2012-03-15parse tunnel devices from configFelix Fietkau
2012-03-15system-linux: add functions for adding/removing ip tunnels (currently only ↵Felix Fietkau
sit supported)
2011-10-19add -Wmissing-declarations to cflagsFelix Fietkau
2011-10-12move --std=gnu99 to the main cflagsFelix Fietkau
2011-10-09drop -O0 for debug buildsFelix Fietkau
2011-10-09add an install targetFelix Fietkau
2011-10-09add a variable for overriding the libnl linker commandFelix Fietkau
2011-10-09rename interface-hotplug.c to interface-event.cFelix Fietkau
2011-10-07add support for calls to a hotplug script on interface state changesFelix Fietkau
2011-10-02add a variable to allow forcing dummy mode on linux systemsFelix Fietkau
2011-10-02only override the uci conf dir in dummy modeFelix Fietkau
2011-09-22add OS switch to select system librarySteven Barth
2011-09-11only use -g3 with -DDEBUGFelix Fietkau
2011-09-10fix invoking shell protocol handler scriptsFelix Fietkau
2011-09-09add work in progress code for enumerating shell protocol handlersFelix Fietkau
2011-09-07move some code to utils.[ch]Felix Fietkau
2011-05-02move address handling to common codeFelix Fietkau
2011-04-13add a dummy protocol handler for "static"Felix Fietkau
2011-03-29add rudimentary protocol handlingFelix Fietkau
2011-03-27Initial importFelix Fietkau