Jo-Philipp Wich
01c4048021
libs/core: fix loading of nixio.bit in luci.ip
2009-08-04 10:38:52 +00:00
Jo-Philipp Wich
86cd67ebc3
[PATCH] make luci.ip.IPvX a bit more forgiving
...
Signed-Off-By: Malte S. Stretz <mss at apache.org>
2009-08-01 20:40:55 +00:00
Jo-Philipp Wich
870397a3cd
libs/ip: return a copy of given tables in __mask16() to avoid destroying them later
2008-12-27 01:42:34 +00:00
Jo-Philipp Wich
dda65d2b94
libs/core/ip: optmizations
...
libs/sys: implement defaultroute6(), change return values of routes() and routes6()
modules/admin-full: adept route config page to new api
modules/freifunk: adept overview page to new routes api
2008-11-29 20:46:26 +00:00
Jo-Philipp Wich
18b4c1f6b6
libs/core/ip: fix host() method
2008-11-26 22:57:26 +00:00
Jo-Philipp Wich
fda52c6fec
libs/core/ip: fix prefix length handling in Hex() constructor
2008-11-26 22:29:14 +00:00
Jo-Philipp Wich
2787a7f688
* luci/libs: In luci.ip: __array16() does assert() already, so drop redundant sanity checks in add() and sub()
2008-08-09 18:59:37 +00:00
Jo-Philipp Wich
ba298a020b
* luci/libs: add missing parameter documentation for prefix() in luci.ip
2008-08-09 18:48:13 +00:00
Jo-Philipp Wich
a83de5a3b4
* luci/libs: updated documentation for luci.ip to use new features of luadoc
2008-08-09 18:41:30 +00:00
Jo-Philipp Wich
f3624d2ccd
* luci/libs: fixed documentation for broadcast() in luci.ip
2008-08-09 01:10:42 +00:00
Jo-Philipp Wich
648126f6d0
* luci/libs: added broadcast(), minhost() and maxhost() to luci.ip, allow various datatypes as add() and sub() operands, extended add() and sub() to modify data inplace when flag is set
2008-08-09 01:06:28 +00:00
Jo-Philipp Wich
74824c32bf
* luci/libs: Damn, I should take english lessons ... corrected typos in inline documentation
2008-08-08 19:24:33 +00:00
Jo-Philipp Wich
9592b80af6
* luci/libs: added inline documentation and luci.ip.cidr.sub() to luci.ip; allow CIDR notation _and_ netmask argument in IPv4() and IPv6() constructors
2008-08-08 19:06:37 +00:00
Jo-Philipp Wich
a87b197aa8
* luci/libs: properly handle overflows in luci.ip.add()
2008-08-08 13:45:09 +00:00
Jo-Philipp Wich
e502d88407
* luci/libs: fix off-by-one bug in luci.ip
2008-08-08 12:55:57 +00:00
Jo-Philipp Wich
069ac1115d
* luci/libs: fixed contains() in luci.ip
2008-08-08 12:38:21 +00:00
Steven Barth
e080fcebd2
libs/core: Cleaned up luci.sys in favor of the new luci.ip module
2008-08-08 12:26:45 +00:00
Jo-Philipp Wich
9587d9db02
* luci/libs: add assert() to contains() in luci.ip
2008-08-08 01:32:55 +00:00
Jo-Philipp Wich
12951a951e
* luci/libs: fixed big endian in Hex() constructor
2008-08-08 01:04:52 +00:00
Jo-Philipp Wich
edccb1fc95
* luci/libs: added Hex() constructor to luci.ip
2008-08-08 01:03:25 +00:00
Jo-Philipp Wich
adf1cc4c84
* libs/core/ip: save a redundant object in compare()
2008-08-07 15:39:52 +00:00
Steven Barth
3546ed9bbe
lib/core: luci.ip: Added more sanity checks and optimizations
2008-08-07 15:25:59 +00:00
Steven Barth
256ab6b57c
libs/core: Taught luci.ip how to use netmasks and smaller syntax sugars
2008-08-07 15:09:29 +00:00
Jo-Philipp Wich
f7f683579f
* luci/libs/ip: fix add()
2008-08-07 12:48:25 +00:00
Jo-Philipp Wich
25dd9c5f9b
* luci/libs: add preliminary ip calculation library
2008-08-07 12:44:33 +00:00