summaryrefslogtreecommitdiff
path: root/vlan.c
Commit message (Collapse)AuthorAgeFilesLines
* netifd: Reload proto on topology changeHelmut Schaa2014-03-211-0/+4
| | | | | | | | | | Introduce a new device event "topology change" that gets signaled by bridges on adding/removing members. On "topology changes" the proto handlers are requested to "renew" which is most useful for DHCP. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
* netifd: Link layer state awareness support on interface levelHans Dedecker2014-02-271-3/+10
| | | | | | | | The link layer state is monitored for a given interface; an interface will be setup when both enabled and link layer active. Likewise an interface will be teared down when either disabled or link layer down. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* Revert "netifd: Link layer state support on device level"Felix Fietkau2013-12-141-10/+3
| | | | This reverts commit c439b52400978dd3799c66e1f632ee68d2c7c9eb.
* netifd: Link layer state support on device levelHans Dedecker2013-12-081-3/+10
| | | | | | | Patch implements link layer state awareness (aka carrier detection) in netifd on device level. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* vlan: set the name of vlan devices earlierNathan Hintz2013-09-251-3/+3
| | | | | | | | Set the device name earlier so that the logging done inside of 'device_init_virtual' can print the name of the device being initialized (instead of an empty string). Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
* device: use safe_list for device event, fixes some hang issuesFelix Fietkau2013-04-151-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* fix ifname for alias+vlan chainsFelix Fietkau2012-07-051-1/+11
|
* make vlan devices virtual to avoid avl tree issues with changing ifnames ↵Felix Fietkau2012-07-051-1/+1
| | | | when bound to alias interfaces
* vlan.c: prevent segfault in get_vlan_device_chain() if the base device does ↵Jo-Philipp Wich2012-07-051-1/+1
| | | | not exist
* add copyright headersFelix Fietkau2012-05-041-0/+13
|
* apply device settings to simple devices with config specified from the ↵Felix Fietkau2011-10-191-0/+1
| | | | interface section (legacy format compatibility), but only if no other config was provided
* always recreate devices by default if the config attribute list is not the ↵Felix Fietkau2011-10-061-0/+1
| | | | default one
* rename a variable for clarityFelix Fietkau2011-10-051-7/+7
|
* make device_claim/device_release operate on the device_user instead of the ↵Felix Fietkau2011-09-041-3/+3
| | | | device to avoid refcount bugs
* s/release_device/device_release/Felix Fietkau2011-07-291-2/+2
|
* s/claim_device/device_claim/Felix Fietkau2011-07-291-1/+1
|
* s/init_device/device_init/Felix Fietkau2011-07-291-1/+1
|
* s/get_device/device_get/Felix Fietkau2011-07-291-1/+1
|
* s/cleanup_device/device_cleanup/Felix Fietkau2011-07-291-1/+1
|
* s/set_device_present/device_set_present/Felix Fietkau2011-07-291-2/+2
|
* s/add_device_user/device_add_user/Felix Fietkau2011-07-291-1/+1
|
* s/remove_device_user/device_remove_user/gFelix Fietkau2011-07-291-1/+1
|
* remove an unnecessary inlineFelix Fietkau2011-03-281-1/+1
|
* Initial importFelix Fietkau2011-03-271-0/+156