summaryrefslogtreecommitdiffhomepage
path: root/system.h
AgeCommit message (Collapse)Author
2013-05-13Add support for IP in IPv6 tunnels (DS-Lite)Steven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
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-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>
2012-10-29use FD_CLOEXEC instead of tracking lists of fdsFelix Fietkau
2012-09-06clean up and fix system-dummy addr/route messagesFelix Fietkau
2012-07-12expose system_if_apply_settings, make it ignore the mac address for external ↵Felix Fietkau
devices
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-04add copyright headersFelix Fietkau
2012-03-15system-linux: add functions for adding/removing ip tunnels (currently only ↵Felix Fietkau
sit supported)
2012-01-19export carrier status in device statsFelix Fietkau
2011-10-26recognize stacked interfaces (e.g. dsa) and handle their dependenciesFelix Fietkau
2011-10-19set the igmp snooping option for bridgesFelix Fietkau
2011-10-14flush routes after bringing up/down an interfaceFelix Fietkau
2011-10-11implement a new ubus object "network.device", add a method for dumping ↵Felix Fietkau
detailed device information
2011-10-10add interface uptime to the status infoFelix Fietkau
2011-10-09fix clearing device state, trigger it on device_init()Felix Fietkau
2011-10-09add more options for bridges, enable stp by default and set forwarding delay ↵Felix Fietkau
to 1
2011-09-23add a system_init function for system controlSteven Barth
2011-09-05move ip related functions and data structures to a separate header fileFelix Fietkau
2011-05-03add routes/gateway supportFelix Fietkau
2011-05-02move interface address handling to the device module, clean up arguments to ↵Felix Fietkau
system_{add,del}_addr
2011-04-13add functions for setting v4 addressesFelix Fietkau
2011-03-27Initial importFelix Fietkau