summaryrefslogtreecommitdiffhomepage
path: root/interface.c
AgeCommit message (Collapse)Author
2013-10-17key to data elements point at wrong memory areaSteven Barth
2013-10-17Add protocol update notifications and hotplug legacy callsSteven Barth
2013-10-17Add ubus function to create nested interfacesSteven Barth
2013-06-18interface: fix NULL pointer defref in interface_set_main_devFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-10config: use the new uci_blob library codeFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-10Change IP reloading orderSteven Barth
2013-06-10Reuse automatic ip6table valueSteven Barth
2013-05-30Add missing update-triggers for source-based routingSteven Barth
2013-05-30IPv6: reorganize prefix assignmentSteven Barth
* put parameters in a more suitable place * add support for prefix classes
2013-05-28IPv6: fix wrap-arounds in address lifetimesSteven Barth
2013-05-17Add option to define target routing table for protocol routes.Steven Barth
This unifies source-routing for both IPv6 and IPv4 (default off). Based on a patch by Kristian Evensen
2013-04-25interface: fix removing main_dev on config reload changes if ifname is reset ↵Felix Fietkau
to NULL Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-04-25interface: rework reload, ensure that all changes are applied before ↵Felix Fietkau
restarting the interface Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-04-03Rewrite IPv6 prefix assignmentSteven Barth
2013-01-29fix cleaning up interface state for reloadFelix Fietkau
Do not clean up config related state or interface dependencies Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-16alias: use layer 3 device instead of main deviceSteven Barth
2012-12-31use calloc_a for interface error allocationsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-12-31interface: do not clear errors after an interface is marked as down, the ↵Felix Fietkau
user might like to read them Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-12-17duplicate error subsystem and code for interface errors to prevent accessing ↵Felix Fietkau
stale data Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-12-13rewrite resolv.conf after any interface state change (not just up)Felix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-09-06do not prematurely release the main dev on link loss, should fix DHCP NAK ↵Felix Fietkau
handling
2012-07-12add simple device config params to interface blob attributes, and add a flag ↵Felix Fietkau
that indicates if it is present
2012-07-05make alias devices attach to interface l2 devsFelix Fietkau
2012-06-04interface: clean up after hotplug interfaces are removedFelix Fietkau
2012-05-23add interface alias supportFelix Fietkau
2012-05-23reset iface->config_state when handling itFelix Fietkau
2012-05-20fix argument order on replacing dns listsFelix Fietkau
2012-05-20do not replace proto_ip dns servers on config reloadFelix Fietkau
2012-05-20read interface route metric from configFelix Fietkau
2012-05-19move dns server/search list parsing to interface core to support peerdns=0 + ↵Felix Fietkau
static entries
2012-05-19implement a generic peerdns option to suppress proto handler dns entriesFelix Fietkau
2012-05-04fix buffer overflow in interface data handlingFelix Fietkau
2012-05-04add copyright headersFelix Fietkau
2012-05-04convert interface event queueing to global interface notifierFelix Fietkau
2012-05-04add a new event for interface reloadFelix Fietkau
2012-05-04add a new event for interface freeFelix Fietkau
2012-05-04add global interface event notifierFelix Fietkau
2012-05-04add a ubus interface to dynamically create host routes to a particular ip ↵Felix Fietkau
address, returns the interface that the route goes through
2012-05-02move system_flush_routes() call to mark_interface_down()Felix Fietkau
2012-05-02remove duplicate interface down eventsFelix Fietkau
2012-04-29fix config routes enable/disable handling on down/upFelix Fietkau
2012-04-18fix flushing routes/addresses on connection lossFelix Fietkau
2012-04-14release devices only after flushing ip stateFelix Fietkau
2012-04-12flush interface ip state after the interface has been brought down, fixes ↵Felix Fietkau
ppp defaultroute issues
2012-03-29fix use-after-free when an interface event is pending while the interface is ↵Felix Fietkau
being freed
2012-03-28netifd: fix hotplug-adding of non-bridge interfaces by setting the l3 device ↵Felix Fietkau
early
2012-03-23add support for attaching arbitrary state data to interfacesFelix Fietkau
2012-03-23move l3 device tracking to interface core to enforce proper order of ↵Felix Fietkau
address/route removal on device or interface state changes
2012-03-19add support for updating route metricsFelix Fietkau
2012-03-19properly flush routes and l3 devices when tearing down interfacesFelix Fietkau