Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | netifd: Add option to configure base_reachable_time_ms for each device | Hans Dedecker | 2015-02-09 | 1 | -0/+14 |
| | | | | | | | | The UCI parameter neighreachabletime allows to control the hardware address to IP mapping lifetime in the neighbour table for both IPv4 and IPv6 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Signed-off-by: Jean-Francois Remy <jeff@melix.org> | ||||
* | device: force changes to be applied via state change if necessary | Felix Fietkau | 2015-01-24 | 1 | -0/+4 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | device: simplify config blob memory allocation handling | Felix Fietkau | 2015-01-24 | 1 | -5/+5 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | device: move config apply handling to a helper function | Felix Fietkau | 2015-01-24 | 1 | -29/+41 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | netifd: Add mldversion config support | Steven Barth | 2014-12-23 | 1 | -1/+14 |
| | | | | | | | | | | | | Config support to set the MLD host version on device level; possible values are : 1 : MLDv1 2 : MLDv2 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Cleaned up and simplified. Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | netifd: Add igmpversion config support | Hans Dedecker | 2014-12-08 | 1 | -0/+11 |
| | | | | | | | | | | | | | Config support to set the IGMP host version on device level; possible values are : 1 : IGMPv1 2 : IGMPv2 3 : IGMPv3 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Cleand up and simplified Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | netifd: Add acceptlocal config support | Hans Dedecker | 2014-11-19 | 1 | -0/+9 |
| | | | | | | Adds support to accept packets with local source address. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd: Add rpfilter config support | Hans Dedecker | 2014-11-19 | 1 | -0/+11 |
| | | | | | | | | | | | Reverse path filtering config support; possible values are: 0: no source validation 1|strict: strict mode as packet will be dropped if the incoming interface is not the best reverse path 2|loose: loose mode as packet will be dropped if the source address is not reachable via any interface Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd: Fix device ifindex overwrite when processing netlink event messages | Hans Dedecker | 2014-11-19 | 1 | -0/+8 |
| | | | | | | | | | | | When a device with the same name is deleted and created again in the kernel the ifindex changes. A race condition will occur when netlink event messages linked to the old device are processed and will thus overwrite the correct ifindex of the new device. Further make sure a valid ifindex is in place for both external and internal devices when setting the state to enabled. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd-device: add support for promisc setting | Martin Hundebøll | 2014-09-17 | 1 | -0/+9 |
| | | | | Signed-off-by: Martin Hundebøll <martin@hundeboll.net> | ||||
* | netifd: Set device down based on being a non external device in device_release | Hans Dedecker | 2014-07-30 | 1 | -1/+1 |
| | | | | | | Line up the device state manipulation by checking the external device parameter consistent and not the hotplug device parameter Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | device: fall back to simple interface status check if not provided by the ↵ | Felix Fietkau | 2014-06-26 | 1 | -1/+1 |
| | | | | | | device type Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | device: prevent interface up/down calls for external devices | Felix Fietkau | 2014-05-06 | 1 | -0/+3 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | netifd: Add interface config support to enable/disable IPv6 in the kernel ↵ | Hans Dedecker | 2014-04-26 | 1 | -0/+9 |
| | | | | | | | | per device Main use case is being able to disable IPv6 on (a) WAN interface(s) when only IPv4 connectivity is offered or 6rd is used. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd: Fix bridge MTU setting when a bridge member is added | Hans Dedecker | 2014-03-11 | 1 | -1/+1 |
| | | | | | | Reapply bridge mtu setting as adding a bridge member will override the bridge mtu in the kernel Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd: Link layer state awareness support on device level | Hans Dedecker | 2014-02-27 | 1 | -2/+27 |
| | | | | | | | | | | | | | Device layer is informed by netlink events regarding the link layer status. Link layer status change results in a DEV_EVENT_LINK_UP/DEV_EVENT_LINK_DOWN broadcast event for a given device. Depends on uloop error callback patch. Solves issue reported in https://dev.openwrt.org/ticket/14590 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Acked-by: Karl Vogel <karl.vogel@gmail.com> | ||||
* | device: prevent callbacks to device users that have been cleaned up already | Felix Fietkau | 2013-12-16 | 1 | -0/+4 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | Revert "netifd: Link layer state support on device level" | Felix Fietkau | 2013-12-14 | 1 | -27/+2 |
| | | | | This reverts commit c439b52400978dd3799c66e1f632ee68d2c7c9eb. | ||||
* | netifd: Link layer state support on device level | Hans Dedecker | 2013-12-08 | 1 | -2/+27 |
| | | | | | | | Patch implements link layer state awareness (aka carrier detection) in netifd on device level. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd: Code style line/clean up | Hans Dedecker | 2013-12-08 | 1 | -6/+6 |
| | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | device.c: report device type when claim fails | Felix Fietkau | 2013-10-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | device_add_user: return immediately if the new device is the same as the old ↵ | Felix Fietkau | 2013-10-03 | 1 | -0/+3 |
| | | | | | | device Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | config: use the new uci_blob library code | Felix Fietkau | 2013-06-10 | 1 | -3/+3 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | config: replace config_memdup with blob_memdup from libubox | Felix Fietkau | 2013-06-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | device: use safe_list for device event, fixes some hang issues | Felix Fietkau | 2013-04-15 | 1 | -43/+38 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | device: protect device event broadcast against simultaneous deletions of ↵ | Felix Fietkau | 2013-02-10 | 1 | -6/+19 |
| | | | | | | multiple receivers in the callback (can happen with aliases) Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | device.c: use format_macaddr() helper to convert mac addresses to strings, ↵ | Jo-Philipp Wich | 2012-09-28 | 1 | -1/+1 |
| | | | | ether_ntoa() does not guarantee a canonical format | ||||
* | do not recreate or restart external devices on settings changes, apply them ↵ | Felix Fietkau | 2012-07-12 | 1 | -0/+4 |
| | | | | at runtime | ||||
* | add some debug messages for device user count | Felix Fietkau | 2012-07-12 | 1 | -0/+13 |
| | |||||
* | when specifying hotplug devices that already have existing configured ↵ | Felix Fietkau | 2012-07-05 | 1 | -1/+6 |
| | | | | devices, set the external flag | ||||
* | alias: use a callback for managing device presence state, track alias deps ↵ | Felix Fietkau | 2012-07-05 | 1 | -3/+19 |
| | | | | in a separate list to avoid recursion issues | ||||
* | split alias support into a separate source file for better readability | Felix Fietkau | 2012-07-05 | 1 | -107/+0 |
| | |||||
* | fix ifname for alias+vlan chains | Felix Fietkau | 2012-07-05 | 1 | -1/+8 |
| | |||||
* | device: initialize dev->set_state for virtual devices | Felix Fietkau | 2012-07-05 | 1 | -3/+3 |
| | |||||
* | device: export device_broadcast_event | Felix Fietkau | 2012-07-05 | 1 | -1/+1 |
| | |||||
* | ignore mac80211 devices specified in /etc/config/network | Felix Fietkau | 2012-06-14 | 1 | -0/+3 |
| | |||||
* | device: make device_set_disabled inline, add device_set_deferred | Felix Fietkau | 2012-06-07 | 1 | -13/+12 |
| | |||||
* | device: show a bit more info if the device is not present | Felix Fietkau | 2012-06-04 | 1 | -1/+4 |
| | |||||
* | add copyright headers | Felix Fietkau | 2012-05-04 | 1 | -0/+13 |
| | |||||
* | move l3 device tracking to interface core to enforce proper order of ↵ | Felix Fietkau | 2012-03-23 | 1 | -0/+3 |
| | | | | address/route removal on device or interface state changes | ||||
* | move device cleanup to common code, fixes use-after-free in tunnel code | Felix Fietkau | 2012-03-19 | 1 | -3/+1 |
| | |||||
* | fix a memory leak | Felix Fietkau | 2012-03-19 | 1 | -0/+1 |
| | |||||
* | device: differentiate between DEV_CONFIG_APPLIED (no device up/down), and ↵ | Felix Fietkau | 2012-03-04 | 1 | -2/+3 |
| | | | | DEV_CONFIG_RESTART (device restart) | ||||
* | do not bring down hotplug devices | Felix Fietkau | 2012-03-03 | 1 | -1/+2 |
| | |||||
* | preserve interface main hotplug device on reload | Felix Fietkau | 2012-03-03 | 1 | -0/+3 |
| | |||||
* | fix mac address parsing | Felix Fietkau | 2012-02-28 | 1 | -1/+1 |
| | |||||
* | always call device_set_disabled, even if the "enabled" attribute is not present | Felix Fietkau | 2012-01-23 | 1 | -3/+4 |
| | |||||
* | show mtu, macaddr and txqueuelen from cached device settings | Felix Fietkau | 2012-01-22 | 1 | -0/+27 |
| | |||||
* | move device settings to a separate struct | Felix Fietkau | 2012-01-22 | 1 | -7/+8 |
| | |||||
* | export carrier status in device stats | Felix Fietkau | 2012-01-19 | 1 | -0/+2 |
| |