Steven Barth
231f8c2969
base-files: fix network_get_prefix6
...
SVN-Revision: 35300
2013-01-22 16:47:16 +00:00
Jo-Philipp Wich
1941fb309d
base-files: network.sh: fix typo in previous commit
...
SVN-Revision: 35287
2013-01-21 19:02:38 +00:00
Jo-Philipp Wich
3b2db1838a
base-files: network.sh: simplify network_get_prefix6()
...
SVN-Revision: 35286
2013-01-21 18:54:58 +00:00
Steven Barth
847cd984b9
base-files: add support for ipv6-prefixes in connection with netifd
...
SVN-Revision: 35168
2013-01-15 13:07:51 +00:00
Jo-Philipp Wich
3339316fbe
base-files: use json_is_a() in network.sh
...
SVN-Revision: 34733
2012-12-17 13:07:42 +00:00
Jo-Philipp Wich
17acf9bf27
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
2012-12-16 20:17:18 +00:00
Jo-Philipp Wich
1600ba99e4
base-files: various enhancements to network.sh
...
- 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
2012-12-16 18:22:02 +00:00
Jo-Philipp Wich
dac5ed38b6
base-files: remove route enabled check in lib/functions/network.sh after netifd bump
...
SVN-Revision: 33391
2012-09-13 08:47:10 +00:00
Jo-Philipp Wich
b2e5c5f82e
base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh
...
SVN-Revision: 32531
2012-06-29 19:04:11 +00:00
Jo-Philipp Wich
e654014352
base-files: only consider enabled default routes when finding the wan iface ( #11774 )
...
SVN-Revision: 32525
2012-06-29 11:58:35 +00:00
Jo-Philipp Wich
57a7257569
base-files: implement network_get_gateway(), network_get_gateway6(), network_find_wan() and network_find_wan6() in /lib/functions/network.sh
...
SVN-Revision: 32397
2012-06-17 11:50:50 +00:00
Jo-Philipp Wich
9869b4da3c
base-files: implement network_defer_device() and network_ready_device() wrappers for upcoming netifd iface deferring support
...
SVN-Revision: 32106
2012-06-07 14:55:26 +00:00
Jo-Philipp Wich
c11151bc70
base-files: add network_is_up()
...
SVN-Revision: 31978
2012-05-29 02:03:25 +00:00
Jo-Philipp Wich
bf52cbf108
base-files: let network_get_device() return the l3 interface, introduce network_get_physdev() to obtain the underlying iface (if applicable)
...
SVN-Revision: 31960
2012-05-29 00:20:16 +00:00
Jo-Philipp Wich
8ef9450b37
base-files: add network_get_device() to network.sh
...
SVN-Revision: 31937
2012-05-28 03:24:56 +00:00
Jo-Philipp Wich
f1d04190c5
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
2012-05-28 03:15:02 +00:00