|
|
|
|
|
|
|
ipFromIpMask(ipmask)
get just the ip from an ip mask pair like 1.1.1.1/24 |
source code
|
|
|
|
|
hexToBits(hex)
convert hex number (0xff000000 of netbits to numeric netmask
(8) |
source code
|
|
|
|
|
maskToBits(netmask)
convert string rep of netmask to number of bits |
source code
|
|
|
bitsToMaskNumb(netbits)
convert integer number of netbits to string netmask |
source code
|
|
|
|
|
getnet(ip,
netmask)
get network address of ip as string netmask is in form
255.255.255.0 |
source code
|
|
|
getnetstr(ip,
netmask)
return network number as string |
source code
|
|