Harald Welte | db924d3 | 2017-10-12 20:01:54 +0800 | [diff] [blame] | 1 | Testing in46a_to_af() |
| 2 | Testing in46a_to_sas() |
| 3 | Testing in46a_ntop() |
| 4 | res = UNDEFINED |
| 5 | res = UNDEFINED |
| 6 | res = 1.2.3.4 |
| 7 | res = 102:304:506:708:90a:b0c:d0e:f10 |
| 8 | in46p_ntoa() returns 16.32.48.0/24 |
| 9 | Testing in46a_equal() |
| 10 | Testing in46a_within_mask() |
| 11 | in46a_within_mask(10.11.12.13, 10.11.12.13, 32) = 1 |
| 12 | in46a_within_mask(10.11.12.13, 10.11.12.12, 30) = 1 |
| 13 | in46a_within_mask(10.11.12.13, 10.8.0.0, 13) = 1 |
| 14 | in46a_within_mask(10.11.12.14, 10.11.12.13, 32) = 0 |
| 15 | in46a_within_mask(10.11.12.14, 10.11.12.12, 30) = 1 |
| 16 | testing in46a_to_eua() |
| 17 | Testing in46a_from_eua() |
Pau Espin Pedrol | 2e7b9ff | 2017-10-16 14:27:32 +0200 | [diff] [blame] | 18 | Testing in46a_netmasklen() with IPv4 addresses |
| 19 | Testing in46a_netmasklen() with IPv6 addresses |