- Oct 09, 2014
-
-
Steven Barth authored
Return all IPv4 and IPv6 addresses. Signed-off-by:
Mathias Kresin <openwrt@kresin.me> SVN-Revision: 42856
-
- Sep 14, 2014
-
-
Luka Perkov authored
Signed-off-by:
Luka Perkov <luka@openwrt.org> SVN-Revision: 42542
-
- Aug 11, 2014
-
-
Jo-Philipp Wich authored
When looking for the first ipaddr also consider the current prefix just like network_get_ipaddrs6 does. If ipv6-address was empty the function did not return the first ipaddr even if the list was non-empty. fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006 Signed-off-by:
Henning Schild <henning@hennsch.de> SVN-Revision: 42139
-
- Jun 19, 2014
-
-
Jo-Philipp Wich authored
Switches /lib/functions/network.sh from jshn based json parsing to jsonfilter expression while keeping the existing api. Expensive methods like "network_find_wan" are up to 20x faster now. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41281
-
- Dec 16, 2013
-
-
Jo-Philipp Wich authored
SVN-Revision: 39099
-
- Dec 09, 2013
-
-
Luka Perkov authored
Signed-off-by:
Luka Perkov <luka@openwrt.org> SVN-Revision: 39006
-
- Jul 15, 2013
-
-
Jo-Philipp Wich authored
SVN-Revision: 37345
-
- Jun 17, 2013
-
-
Jo-Philipp Wich authored
base-files: network.sh: extend network_get_ipaddr6() / network_get_subnet6() to take ipv6-prefix-assignment into account, add further helper functions to fetch all ips of a given interface SVN-Revision: 36942
-
- May 06, 2013
-
-
Jo-Philipp Wich authored
base-files: change network_find_wan() procedure to ignore default gateways in different routing tables SVN-Revision: 36553
-
- Jan 22, 2013
-
-
Steven Barth authored
SVN-Revision: 35300
-
- Jan 21, 2013
-
-
Jo-Philipp Wich authored
SVN-Revision: 35287
-
Jo-Philipp Wich authored
SVN-Revision: 35286
-
- Jan 15, 2013
-
-
Steven Barth authored
SVN-Revision: 35168
-
- Dec 17, 2012
-
-
Jo-Philipp Wich authored
SVN-Revision: 34733
-
- Dec 16, 2012
-
-
Jo-Philipp Wich authored
base-files: rework cache handling in network.sh to keep the entire parsed ifstatus, use jshn namespaces to support using it concurrently with other jshn users SVN-Revision: 34725
-
Jo-Philipp Wich authored
- support reading inactive gateways and DNS information in network_get_gateway(), network_get_dnsserver() and network_get_dnssearch() by passing "true" as optional last argument - internally cache fetched values to speed up subsequent accesses to the same data, introduce network_flush_cache() to clear them - add some inline function documentation SVN-Revision: 34722
-
- Sep 13, 2012
-
-
Jo-Philipp Wich authored
SVN-Revision: 33391
-
- Jun 29, 2012
-
-
Jo-Philipp Wich authored
base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh SVN-Revision: 32531
-
Jo-Philipp Wich authored
SVN-Revision: 32525
-
- Jun 17, 2012
-
-
Jo-Philipp Wich authored
base-files: implement network_get_gateway(), network_get_gateway6(), network_find_wan() and network_find_wan6() in /lib/functions/network.sh SVN-Revision: 32397
-
- Jun 07, 2012
-
-
Jo-Philipp Wich authored
base-files: implement network_defer_device() and network_ready_device() wrappers for upcoming netifd iface deferring support SVN-Revision: 32106
-
- May 29, 2012
-
-
Jo-Philipp Wich authored
SVN-Revision: 31978
-
Jo-Philipp Wich authored
base-files: let network_get_device() return the l3 interface, introduce network_get_physdev() to obtain the underlying iface (if applicable) SVN-Revision: 31960
-
- May 28, 2012
-
-
Jo-Philipp Wich authored
SVN-Revision: 31937
-
Jo-Philipp Wich authored
base-files: introduce /lib/functions/network.sh This file will contain common procedures to deal with network interfaces. Initially provides network_get_ipaddr(), network_get_ipaddr6(), network_get_subnet() and network_get_subnet6() to determine the primary IP addresses or subnets of a given logical interface. SVN-Revision: 31935
-