summaryrefslogtreecommitdiff
path: root/interface.c
Commit message (Collapse)AuthorAgeFilesLines
* Add option to define target routing table for protocol routes.Steven Barth2013-05-171-0/+17
| | | | | | This unifies source-routing for both IPv6 and IPv4 (default off). Based on a patch by Kristian Evensen
* interface: fix removing main_dev on config reload changes if ifname is reset ↵Felix Fietkau2013-04-251-3/+5
| | | | | | to NULL Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* interface: rework reload, ensure that all changes are applied before ↵Felix Fietkau2013-04-251-39/+40
| | | | | | restarting the interface Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* Rewrite IPv6 prefix assignmentSteven Barth2013-04-031-0/+15
|
* fix cleaning up interface state for reloadFelix Fietkau2013-01-291-11/+17
| | | | | | Do not clean up config related state or interface dependencies Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* alias: use layer 3 device instead of main deviceSteven Barth2013-01-161-1/+1
|
* use calloc_a for interface error allocationsFelix Fietkau2012-12-311-24/+8
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* interface: do not clear errors after an interface is marked as down, the ↵Felix Fietkau2012-12-311-2/+0
| | | | | | user might like to read them Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* duplicate error subsystem and code for interface errors to prevent accessing ↵Felix Fietkau2012-12-171-3/+25
| | | | | | stale data Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* rewrite resolv.conf after any interface state change (not just up)Felix Fietkau2012-12-131-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* do not prematurely release the main dev on link loss, should fix DHCP NAK ↵Felix Fietkau2012-09-061-2/+2
| | | | handling
* add simple device config params to interface blob attributes, and add a flag ↵Felix Fietkau2012-07-121-0/+1
| | | | that indicates if it is present
* make alias devices attach to interface l2 devsFelix Fietkau2012-07-051-0/+12
|
* interface: clean up after hotplug interfaces are removedFelix Fietkau2012-06-041-0/+2
|
* add interface alias supportFelix Fietkau2012-05-231-15/+95
|
* reset iface->config_state when handling itFelix Fietkau2012-05-231-1/+4
|
* fix argument order on replacing dns listsFelix Fietkau2012-05-201-1/+1
|
* do not replace proto_ip dns servers on config reloadFelix Fietkau2012-05-201-1/+0
|
* read interface route metric from configFelix Fietkau2012-05-201-0/+3
|
* move dns server/search list parsing to interface core to support peerdns=0 + ↵Felix Fietkau2012-05-191-2/+27
| | | | static entries
* implement a generic peerdns option to suppress proto handler dns entriesFelix Fietkau2012-05-191-0/+6
|
* fix buffer overflow in interface data handlingFelix Fietkau2012-05-041-1/+1
|
* add copyright headersFelix Fietkau2012-05-041-0/+13
|
* convert interface event queueing to global interface notifierFelix Fietkau2012-05-041-3/+0
|
* add a new event for interface reloadFelix Fietkau2012-05-041-0/+1
|
* add a new event for interface freeFelix Fietkau2012-05-041-0/+1
|
* add global interface event notifierFelix Fietkau2012-05-041-2/+11
|
* add a ubus interface to dynamically create host routes to a particular ip ↵Felix Fietkau2012-05-041-2/+1
| | | | address, returns the interface that the route goes through
* move system_flush_routes() call to mark_interface_down()Felix Fietkau2012-05-021-2/+1
|
* remove duplicate interface down eventsFelix Fietkau2012-05-021-2/+0
|
* fix config routes enable/disable handling on down/upFelix Fietkau2012-04-291-10/+1
|
* fix flushing routes/addresses on connection lossFelix Fietkau2012-04-181-1/+3
|
* release devices only after flushing ip stateFelix Fietkau2012-04-141-1/+1
|
* flush interface ip state after the interface has been brought down, fixes ↵Felix Fietkau2012-04-121-2/+2
| | | | ppp defaultroute issues
* fix use-after-free when an interface event is pending while the interface is ↵Felix Fietkau2012-03-291-0/+1
| | | | being freed
* netifd: fix hotplug-adding of non-bridge interfaces by setting the l3 device ↵Felix Fietkau2012-03-281-1/+1
| | | | early
* add support for attaching arbitrary state data to interfacesFelix Fietkau2012-03-231-0/+38
|
* move l3 device tracking to interface core to enforce proper order of ↵Felix Fietkau2012-03-231-10/+47
| | | | address/route removal on device or interface state changes
* add support for updating route metricsFelix Fietkau2012-03-191-3/+15
|
* properly flush routes and l3 devices when tearing down interfacesFelix Fietkau2012-03-191-0/+2
|
* simplify vlist, move avl key handling to vlist_add()Felix Fietkau2012-03-041-3/+2
|
* preserve interface main hotplug device on reloadFelix Fietkau2012-03-031-4/+5
|
* ubus: use interface_{add,remove}_link for hotplug opsFelix Fietkau2012-03-031-10/+22
|
* remove an unnecessary checkFelix Fietkau2012-01-241-1/+1
|
* add a generic option for disabling the automatic default route on interfacesFelix Fietkau2012-01-241-4/+11
|
* fix interface event handling, suppress redundant down eventsFelix Fietkau2011-11-031-2/+6
|
* proto-shell: handle the "available" config flagFelix Fietkau2011-10-271-1/+3
|
* on reload, check for null ifname before comparing itFelix Fietkau2011-10-261-2/+3
|
* fix device claim on interface reloadFelix Fietkau2011-10-211-2/+1
|
* fold __interface_set_up into interface_set_upFelix Fietkau2011-10-211-25/+16
|