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