summaryrefslogtreecommitdiffhomepage
path: root/system-linux.c
AgeCommit message (Collapse)Author
2013-10-22utils: add a function for checking if a process given by pid is still aliveFelix 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-06-03IPv6: Improve source-routing policiesSteven Barth
* Set a default policy-failed rule per prefix (based on a patch by Jonas Gorski) * Use input interface in addition to source for filtering * Avoid duplicate routing policies
2013-05-28IPv6: fix address-lifetime overflows on 64-bit architecturesSteven Barth
2013-05-27Move iprule flushing to the init function to make the timing predictableJo-Philipp Wich
2013-05-27Move initial iprule flushing to system_add_iprule() to not collide with ↵Jo-Philipp Wich
generic multiwan support
2013-05-13Use logical instead of physical name for tunnel underlying link.Steven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-05-13Add support for IP in IPv6 tunnels (DS-Lite)Steven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-05-11IPv6: Use source-routing to allow multi-wanSteven Barth
2013-04-23set default bridge priority to 0x7FFFJo-Philipp Wich
2013-04-23add bridge priority optionNiels Boehm
[netifd] add bridge priority option Using the bridge priority (lower numbers are higher in the hierarchy), one can ensure that the router is chosen as root bridge in a setup with spanning tree protocol. For instance, one can set the priority of network lan to 32767, causing the router to win over all directly and indirectly connected nodes that have a default priority of 32768. The reason for doing that is that otherwise it has a default priority 32768 as well and any other connected node could win and get root bridge. In a home setup, those nodes are often desktop or laptop boxes and get switched off from time to time. As a consequence, root bridges vanish or new root bridges get chosen relatively often, resulting in frequent topology changes to the STP network. While the new topology has not settled, packets can get lost, causing noticeable interruptions of network traffic. Setting the router's bridge on a lower numbered priority (and thus higher in the selection hierarchy) solves the problem in the vast majority of the cases by ensuring that the device that is most likely powered on 24/7 gets chosen as root and prevents topology changes. Signed-off-by: Niels Boehm <blubberdiblub@gmail.com>
2013-04-05Maintain config order of ip rules unless user explicitely provides priorityJo-Philipp Wich
2013-04-05Add myself to header for IPv6 workSteven Barth
2013-04-04Add support for ip rulesJo-Philipp Wich
2013-04-04Implement support for route / route6 table attributeJo-Philipp Wich
2013-01-15Initial IPv6 prefix supportSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-01-13system-linux.c: use uin64_t datatype to read and store interface statistics, ↵Jo-Philipp Wich
pass values as u64 blob type
2012-09-29system-linux: do not delete kernel-generated ipv6 routes to fix using ↵Felix Fietkau
advertised routes
2012-08-11system-linux.c: install user routes with RTPROT_STATIC instead of ↵Jo-Philipp Wich
RTPROT_BOOT so that routing daemons like quagga will pick it up
2012-07-12expose system_if_apply_settings, make it ignore the mac address for external ↵Felix Fietkau
devices
2012-07-11system-linux.c: fix sysctl settingJo-Philipp Wich
The system_set_dev_sysctl() function erroneously used the value instead of the device name to format the sysctl path, this change corrects that.
2012-07-05avoid setting device presence for wifi interfaces via hotplug messagesFelix Fietkau
2012-07-05zero-initialize the ifreq when adding/removing bridge member interfacesFelix Fietkau
2012-07-05zero-initialize the ifreq when setting interfaces up or downFelix Fietkau
2012-06-21add a #ifdef around the 6rd code to make it compile with older kernels that ↵Felix Fietkau
do not have 6rd support
2012-06-18Add 6rd options to tunnel spec.Stéphan Kochen
This patch adds support for setting the 6rd tunnel options. These are the same options normally specified with `ip tunnel 6rd ...`. Signed-off-by: Stéphan Kochen <stephan@kochen.nl>
2012-06-14ignore mac80211 devices specified in /etc/config/networkFelix Fietkau
2012-05-20replace the kernel's implicit network routes if the metric is setFelix Fietkau
2012-05-14system-linux: set the point to point address if presentFelix Fietkau
2012-05-04add copyright headersFelix Fietkau
2012-04-15system-linux: fix system_rtnl_call() return codeFelix Fietkau
2012-03-15always create device routesFelix Fietkau
2012-03-15system-linux: add functions for adding/removing ip tunnels (currently only ↵Felix Fietkau
sit supported)
2012-03-09make route metrics default to 0Felix Fietkau
2012-03-05system-linux: ignore errors in system_bridge_addif if the interface is ↵Felix Fietkau
already in the specified bridge
2012-02-28fix mac address handlingFelix Fietkau
2012-02-26move broadcast address handling to the coreFelix Fietkau
2012-02-26system-linux: fix the default broadcast address for v4Felix Fietkau
2012-02-26remove device_{route,addr}->deviceFelix Fietkau
2012-02-15set route metrics using netlinkFelix Fietkau
2012-01-22remove flags for device settings that could not be applied successfullyFelix Fietkau
2012-01-22show mtu, macaddr and txqueuelen from cached device settingsFelix Fietkau
2012-01-22save and restore previous device settings when overriding them via configFelix Fietkau
2012-01-22move device settings to a separate structFelix Fietkau
2012-01-22query available/used device speeds via ethtoolFelix Fietkau
2012-01-20add mac address to device infoFelix Fietkau
2012-01-19export carrier status in device statsFelix Fietkau
2011-10-31Add time.h includeJens Muecke
Found on compiling for x64
2011-10-26recognize stacked interfaces (e.g. dsa) and handle their dependenciesFelix Fietkau
2011-10-23fix system_if_checkFelix Fietkau