{ .af = AF_INET, .ip = "1.2.3.4", .port = 5 } OSMO_SOCKADDR_STR_FMT: '1.2.3.4:5' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = true osmo_sockaddr_str_to_in_addr() rc == 0 in_addr=01020304 -> osmo_sockaddr_str_from_in_addr() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 5 } osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc == 0 uint8_t[4]=[ 01 02 03 04 ] -> osmo_sockaddr_str_from_32() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 5 } osmo_sockaddr_str_to_32h() rc == 0 uint8_t[4]=[ 04 03 02 01 ] -> osmo_sockaddr_str_from_32h() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 5 } osmo_sockaddr_str_to_sockaddr_in() rc == 0 sockaddr_in=02000005010203040000000000000000 -> osmo_sockaddr_str_from_sockaddr_in() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 5 } osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0200000501020304000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 5 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 5 } { .af = AF_INET, .ip = "0.0.0.0", .port = 0 } OSMO_SOCKADDR_STR_FMT: '0.0.0.0:0' osmo_sockaddr_str_is_set() = false osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc == 0 in_addr=00000000 -> osmo_sockaddr_str_from_in_addr() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 0 } osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc == 0 uint8_t[4]=[ 00 00 00 00 ] -> osmo_sockaddr_str_from_32() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 0 } osmo_sockaddr_str_to_32h() rc == 0 uint8_t[4]=[ 00 00 00 00 ] -> osmo_sockaddr_str_from_32h() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 0 } osmo_sockaddr_str_to_sockaddr_in() rc == 0 sockaddr_in=02000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr_in() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 0 } osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 0 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 0 } { .af = AF_INET, .ip = "255.255.255.255", .port = 65535 } OSMO_SOCKADDR_STR_FMT: '255.255.255.255:65535' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = true osmo_sockaddr_str_to_in_addr() rc == 0 in_addr=ffffffff -> osmo_sockaddr_str_from_in_addr() rc == 0 { .af = AF_INET, .ip = "255.255.255.255", .port = 65535 } osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc == 0 uint8_t[4]=[ ff ff ff ff ] -> osmo_sockaddr_str_from_32() rc == 0 { .af = AF_INET, .ip = "255.255.255.255", .port = 65535 } osmo_sockaddr_str_to_32h() rc == 0 uint8_t[4]=[ ff ff ff ff ] -> osmo_sockaddr_str_from_32h() rc == 0 { .af = AF_INET, .ip = "255.255.255.255", .port = 65535 } osmo_sockaddr_str_to_sockaddr_in() rc == 0 sockaddr_in=0200ffffffffffff0000000000000000 -> osmo_sockaddr_str_from_sockaddr_in() rc == 0 { .af = AF_INET, .ip = "255.255.255.255", .port = 65535 } osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0200ffffffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET, .ip = "255.255.255.255", .port = 65535 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET, .ip = "255.255.255.255", .port = 65535 } { .af = AF_INET, .ip = "0.0.0.256", .port = 1 } OSMO_SOCKADDR_STR_FMT: '0.0.0.256:1' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=02000001000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0200000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET, .ip = "0.0.0.256", .port = 1 } { .af = AF_INET, .ip = "not an ip address", .port = 1 } OSMO_SOCKADDR_STR_FMT: 'not an ip address:1' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=02000001000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0200000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc < 0 { .af = AF_UNSPEC, .ip = "not an ip address", .port = 1 } { .af = AF_INET6, .ip = "1:2:3::4", .port = 5 } OSMO_SOCKADDR_STR_FMT: '[1:2:3::4]:5' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = true osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc == 0 in6_addr=00010002000300000000000000000004 -> osmo_sockaddr_str_from_in6_addr() rc == 0 { .af = AF_INET6, .ip = "1:2:3::4", .port = 5 } osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc == 0 sockaddr_in6=0a000005000000000001000200030000000000000000000400000000 -> osmo_sockaddr_str_from_sockaddr_in6() rc == 0 { .af = AF_INET6, .ip = "1:2:3::4", .port = 5 } osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0a00000500000000000100020003000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET6, .ip = "1:2:3::4", .port = 5 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "1:2:3::4", .port = 5 } { .af = AF_INET6, .ip = "::", .port = 0 } OSMO_SOCKADDR_STR_FMT: '[::]:0' osmo_sockaddr_str_is_set() = false osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc == 0 in6_addr=00000000000000000000000000000000 -> osmo_sockaddr_str_from_in6_addr() rc == 0 { .af = AF_INET6, .ip = "::", .port = 0 } osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc == 0 sockaddr_in6=0a000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr_in6() rc == 0 { .af = AF_INET6, .ip = "::", .port = 0 } osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET6, .ip = "::", .port = 0 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "::", .port = 0 } { .af = AF_INET6, .ip = "::1", .port = 0 } OSMO_SOCKADDR_STR_FMT: '[::1]:0' osmo_sockaddr_str_is_set() = false osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc == 0 in6_addr=00000000000000000000000000000001 -> osmo_sockaddr_str_from_in6_addr() rc == 0 { .af = AF_INET6, .ip = "::1", .port = 0 } osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc == 0 sockaddr_in6=0a000000000000000000000000000000000000000000000100000000 -> osmo_sockaddr_str_from_sockaddr_in6() rc == 0 { .af = AF_INET6, .ip = "::1", .port = 0 } osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0a00000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET6, .ip = "::1", .port = 0 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "::1", .port = 0 } { .af = AF_INET6, .ip = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", .port = 65535 } OSMO_SOCKADDR_STR_FMT: '[ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = true osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc == 0 in6_addr=ffffffffffffffffffffffffffffffff -> osmo_sockaddr_str_from_in6_addr() rc == 0 { .af = AF_INET6, .ip = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", .port = 65535 } osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc == 0 sockaddr_in6=0a00ffff00000000ffffffffffffffffffffffffffffffff00000000 -> osmo_sockaddr_str_from_sockaddr_in6() rc == 0 { .af = AF_INET6, .ip = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", .port = 65535 } osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0a00ffff00000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET6, .ip = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", .port = 65535 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", .port = 65535 } { .af = AF_INET6, .ip = "FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF", .port = 65535 } OSMO_SOCKADDR_STR_FMT: '[FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = true osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc == 0 in6_addr=ffffffffffffffffffffffffffffffff -> osmo_sockaddr_str_from_in6_addr() rc == 0 { .af = AF_INET6, .ip = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", .port = 65535 } DIFFERS! osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc == 0 sockaddr_in6=0a00ffff00000000ffffffffffffffffffffffffffffffff00000000 -> osmo_sockaddr_str_from_sockaddr_in6() rc == 0 { .af = AF_INET6, .ip = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", .port = 65535 } DIFFERS! osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0a00ffff00000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET6, .ip = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", .port = 65535 } DIFFERS! osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF", .port = 65535 } { .af = AF_INET6, .ip = "::fffff", .port = 1 } OSMO_SOCKADDR_STR_FMT: '[::fffff]:1' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=0a000001000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0a00000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "::fffff", .port = 1 } { .af = AF_INET6, .ip = "not an ip address", .port = 1 } OSMO_SOCKADDR_STR_FMT: '[not an ip address]:1' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=0a000001000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0a00000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc < 0 { .af = AF_UNSPEC, .ip = "not an ip address", .port = 1 } { .af = AF_INET6, .ip = "1.2.3.4", .port = 5 } OSMO_SOCKADDR_STR_FMT: '[1.2.3.4]:5' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=0a000005000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0a00000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 5 } DIFFERS! { .af = AF_INET, .ip = "1:2:3::4", .port = 5 } OSMO_SOCKADDR_STR_FMT: '1:2:3::4:5' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=02000005000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0200000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "1:2:3::4", .port = 5 } DIFFERS! { .af = AF_UNSPEC, .ip = "1.2.3.4", .port = 5 } OSMO_SOCKADDR_STR_FMT: '1.2.3.4:5' osmo_sockaddr_str_is_set() = false osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 5 } DIFFERS! { .af = AF_INET, .ip = "", .port = 5 } OSMO_SOCKADDR_STR_FMT: ':5' osmo_sockaddr_str_is_set() = false osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=02000005000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0200000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc < 0 { .af = AF_UNSPEC, .ip = "", .port = 5 } { .af = AF_INET6, .ip = "", .port = 5 } OSMO_SOCKADDR_STR_FMT: '[]:5' osmo_sockaddr_str_is_set() = false osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=0a000005000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0a00000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc < 0 { .af = AF_UNSPEC, .ip = "", .port = 5 } { .af = AF_INET, .ip = "1.2.3.4", .port = 0 } OSMO_SOCKADDR_STR_FMT: '1.2.3.4:0' osmo_sockaddr_str_is_set() = false osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc == 0 in_addr=01020304 -> osmo_sockaddr_str_from_in_addr() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 0 } osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc == 0 uint8_t[4]=[ 01 02 03 04 ] -> osmo_sockaddr_str_from_32() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 0 } osmo_sockaddr_str_to_32h() rc == 0 uint8_t[4]=[ 04 03 02 01 ] -> osmo_sockaddr_str_from_32h() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 0 } osmo_sockaddr_str_to_sockaddr_in() rc == 0 sockaddr_in=02000000010203040000000000000000 -> osmo_sockaddr_str_from_sockaddr_in() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 0 } osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0200000001020304000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 0 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET, .ip = "1.2.3.4", .port = 0 } { .af = AF_INET, .ip = "1.2.3:4:5", .port = 0 } OSMO_SOCKADDR_STR_FMT: '1.2.3:4:5:0' osmo_sockaddr_str_is_set() = false osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=02000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc < 0 sockaddr_storage=0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "1.2.3:4:5", .port = 0 } DIFFERS! { .af = AF_INET6, .ip = "::1:10.9.8.7", .port = 1 } OSMO_SOCKADDR_STR_FMT: '[::1:10.9.8.7]:1' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = true osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc == 0 in6_addr=0000000000000000000000010a090807 -> osmo_sockaddr_str_from_in6_addr() rc == 0 { .af = AF_INET6, .ip = "::1:a09:807", .port = 1 } DIFFERS! osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc == 0 sockaddr_in6=0a000001000000000000000000000000000000010a09080700000000 -> osmo_sockaddr_str_from_sockaddr_in6() rc == 0 { .af = AF_INET6, .ip = "::1:a09:807", .port = 1 } DIFFERS! osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0a000001000000000000000000000000000000010a0908070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET6, .ip = "::1:a09:807", .port = 1 } DIFFERS! osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "::1:10.9.8.7", .port = 1 } { .af = AF_INET, .ip = "0.0.0.0", .port = 5 } OSMO_SOCKADDR_STR_FMT: '0.0.0.0:5' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc == 0 in_addr=00000000 -> osmo_sockaddr_str_from_in_addr() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 5 } osmo_sockaddr_str_to_in6_addr() rc < 0 in6_addr=00000000000000000000000000000000 osmo_sockaddr_str_to_32() rc == 0 uint8_t[4]=[ 00 00 00 00 ] -> osmo_sockaddr_str_from_32() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 5 } osmo_sockaddr_str_to_32h() rc == 0 uint8_t[4]=[ 00 00 00 00 ] -> osmo_sockaddr_str_from_32h() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 5 } osmo_sockaddr_str_to_sockaddr_in() rc == 0 sockaddr_in=02000005000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr_in() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 5 } osmo_sockaddr_str_to_sockaddr_in6() rc < 0 sockaddr_in6=00000000000000000000000000000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0200000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 5 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET, .ip = "0.0.0.0", .port = 5 } { .af = AF_INET6, .ip = "::", .port = 5 } OSMO_SOCKADDR_STR_FMT: '[::]:5' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc == 0 in6_addr=00000000000000000000000000000000 -> osmo_sockaddr_str_from_in6_addr() rc == 0 { .af = AF_INET6, .ip = "::", .port = 5 } osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc == 0 sockaddr_in6=0a000005000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr_in6() rc == 0 { .af = AF_INET6, .ip = "::", .port = 5 } osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0a00000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET6, .ip = "::", .port = 5 } osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "::", .port = 5 } { .af = AF_INET6, .ip = "0::", .port = 5 } OSMO_SOCKADDR_STR_FMT: '[0::]:5' osmo_sockaddr_str_is_set() = true osmo_sockaddr_str_is_nonzero() = false osmo_sockaddr_str_to_in_addr() rc < 0 in_addr=00000000 osmo_sockaddr_str_to_in6_addr() rc == 0 in6_addr=00000000000000000000000000000000 -> osmo_sockaddr_str_from_in6_addr() rc == 0 { .af = AF_INET6, .ip = "::", .port = 5 } DIFFERS! osmo_sockaddr_str_to_32() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_32h() rc < 0 uint8_t[4]=[ 00 00 00 00 ] osmo_sockaddr_str_to_sockaddr_in() rc < 0 sockaddr_in=00000000000000000000000000000000 osmo_sockaddr_str_to_sockaddr_in6() rc == 0 sockaddr_in6=0a000005000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr_in6() rc == 0 { .af = AF_INET6, .ip = "::", .port = 5 } DIFFERS! osmo_sockaddr_str_to_sockaddr() rc == 0 sockaddr_storage=0a00000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> osmo_sockaddr_str_from_sockaddr() rc == 0 { .af = AF_INET6, .ip = "::", .port = 5 } DIFFERS! osmo_sockaddr_str_from_str() rc == 0 { .af = AF_INET6, .ip = "0::", .port = 5 } test_osmo_sockaddr_str_cmp [ 0] osmo_sockaddr_str_cmp(): 1.2.3.4:5 == 1.2.3.4:5 osmo_sockaddr_str_cmp(): 1.2.3.4:5 > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < 255.255.255.255:65535 osmo_sockaddr_str_cmp(): 1.2.3.4:5 > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < not an ip address:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [::]:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [::1]:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 > :5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < []:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): 1.2.3.4:5 > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [::]:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5 < [0::]:5(zero) [ 1] osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < 1.2.3.4:5 osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) == 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < 255.255.255.255:65535 osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < not an ip address:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) > :5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < []:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:0(zero) < [0::]:5(zero) [ 2] osmo_sockaddr_str_cmp(): 255.255.255.255:65535 > 1.2.3.4:5 osmo_sockaddr_str_cmp(): 255.255.255.255:65535 > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 == 255.255.255.255:65535 osmo_sockaddr_str_cmp(): 255.255.255.255:65535 > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < not an ip address:1(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [::]:0(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [::1]:0(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 > :5(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < []:5(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): 255.255.255.255:65535 > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [::]:5(zero) osmo_sockaddr_str_cmp(): 255.255.255.255:65535 < [0::]:5(zero) [ 3] osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < 1.2.3.4:5 osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < 255.255.255.255:65535 osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) == 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < not an ip address:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) > :5(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < []:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.256:1(zero) < [0::]:5(zero) [ 4] osmo_sockaddr_str_cmp(): not an ip address:1(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): not an ip address:1(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): not an ip address:1(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) == not an ip address:1(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) > :5(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) < []:5(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): not an ip address:1(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): not an ip address:1(zero) < [0::]:5(zero) [ 5] osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 == [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > [::]:0(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > [::1]:0(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [1:2:3::4]:5 < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [1:2:3::4]:5 < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > :5(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > []:5(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > [::]:5(zero) osmo_sockaddr_str_cmp(): [1:2:3::4]:5 > [0::]:5(zero) [ 6] osmo_sockaddr_str_cmp(): [::]:0(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [::]:0(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [::]:0(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [::]:0(zero) == [::]:0(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [::]:0(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [::]:0(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) > [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) > :5(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) > []:5(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [::]:0(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): [::]:0(zero) < [0::]:5(zero) [ 7] osmo_sockaddr_str_cmp(): [::1]:0(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [::1]:0(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [::1]:0(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [::1]:0(zero) > [::]:0(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) == [::1]:0(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [::1]:0(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [::1]:0(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > :5(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > []:5(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [::1]:0(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > [::]:5(zero) osmo_sockaddr_str_cmp(): [::1]:0(zero) > [0::]:5(zero) [ 8] osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > [::]:0(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > [::1]:0(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 == [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 == [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > :5(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > []:5(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > [::]:5(zero) osmo_sockaddr_str_cmp(): [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 > [0::]:5(zero) [ 9] osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > [::]:0(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > [::1]:0(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 == [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 == [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > :5(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > []:5(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > [::]:5(zero) osmo_sockaddr_str_cmp(): [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 > [0::]:5(zero) [10] osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > [::]:0(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > [::1]:0(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [::fffff]:1(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [::fffff]:1(zero) == [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > :5(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > []:5(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > [::]:5(zero) osmo_sockaddr_str_cmp(): [::fffff]:1(zero) > [0::]:5(zero) [11] osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [::]:0(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [::1]:0(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) == [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > :5(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > []:5(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [::]:5(zero) osmo_sockaddr_str_cmp(): [not an ip address]:1(zero) > [0::]:5(zero) [12] osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) == [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > :5(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > []:5(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): [1.2.3.4]:5(zero) > [0::]:5(zero) [13] osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < 255.255.255.255:65535 osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < not an ip address:1(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) == 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) > :5(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < []:5(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): 1:2:3::4:5(zero) < [0::]:5(zero) [14] osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < 1.2.3.4:5 osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < 255.255.255.255:65535 osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < not an ip address:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) == 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < :5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < []:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:5(zero) < [0::]:5(zero) [15] osmo_sockaddr_str_cmp(): :5(zero) < 1.2.3.4:5 osmo_sockaddr_str_cmp(): :5(zero) < 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): :5(zero) < 255.255.255.255:65535 osmo_sockaddr_str_cmp(): :5(zero) < 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): :5(zero) < not an ip address:1(zero) osmo_sockaddr_str_cmp(): :5(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): :5(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): :5(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): :5(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): :5(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): :5(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): :5(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): :5(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): :5(zero) < 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): :5(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): :5(zero) == :5(zero) osmo_sockaddr_str_cmp(): :5(zero) < []:5(zero) osmo_sockaddr_str_cmp(): :5(zero) < 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): :5(zero) < 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): :5(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): :5(zero) < 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): :5(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): :5(zero) < [0::]:5(zero) [16] osmo_sockaddr_str_cmp(): []:5(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): []:5(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): []:5(zero) > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): []:5(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): []:5(zero) > not an ip address:1(zero) osmo_sockaddr_str_cmp(): []:5(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): []:5(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): []:5(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): []:5(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): []:5(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): []:5(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): []:5(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): []:5(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): []:5(zero) > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): []:5(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): []:5(zero) > :5(zero) osmo_sockaddr_str_cmp(): []:5(zero) == []:5(zero) osmo_sockaddr_str_cmp(): []:5(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): []:5(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): []:5(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): []:5(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): []:5(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): []:5(zero) < [0::]:5(zero) [17] osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < 1.2.3.4:5 osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < 255.255.255.255:65535 osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < not an ip address:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) > :5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < []:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) == 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): 1.2.3.4:0(zero) < [0::]:5(zero) [18] osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < 255.255.255.255:65535 osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < not an ip address:1(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) > :5(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < []:5(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) == 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): 1.2.3:4:5:0(zero) < [0::]:5(zero) [19] osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > [::]:0(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > [::1]:0(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > :5(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > []:5(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 == [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > [::]:5(zero) osmo_sockaddr_str_cmp(): [::1:10.9.8.7]:1 > [0::]:5(zero) [20] osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < 1.2.3.4:5 osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < 255.255.255.255:65535 osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < not an ip address:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [::]:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) > :5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < []:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) == 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [::]:5(zero) osmo_sockaddr_str_cmp(): 0.0.0.0:5(zero) < [0::]:5(zero) [21] osmo_sockaddr_str_cmp(): [::]:5(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [::]:5(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [::]:5(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [::]:5(zero) > [::]:0(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [::]:5(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [::]:5(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) > [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) > :5(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) > []:5(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [::]:5(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) == [::]:5(zero) osmo_sockaddr_str_cmp(): [::]:5(zero) == [0::]:5(zero) [22] osmo_sockaddr_str_cmp(): [0::]:5(zero) > 1.2.3.4:5 osmo_sockaddr_str_cmp(): [0::]:5(zero) > 0.0.0.0:0(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) > 255.255.255.255:65535 osmo_sockaddr_str_cmp(): [0::]:5(zero) > 0.0.0.256:1(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) > not an ip address:1(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) < [1:2:3::4]:5 osmo_sockaddr_str_cmp(): [0::]:5(zero) > [::]:0(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) < [::1]:0(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) < [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:65535 osmo_sockaddr_str_cmp(): [0::]:5(zero) < [FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF]:65535 osmo_sockaddr_str_cmp(): [0::]:5(zero) < [::fffff]:1(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) < [not an ip address]:1(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) < [1.2.3.4]:5(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) > 1:2:3::4:5(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) > 1.2.3.4:5(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) > :5(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) > []:5(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) > 1.2.3.4:0(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) > 1.2.3:4:5:0(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) < [::1:10.9.8.7]:1 osmo_sockaddr_str_cmp(): [0::]:5(zero) > 0.0.0.0:5(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) == [::]:5(zero) osmo_sockaddr_str_cmp(): [0::]:5(zero) == [0::]:5(zero)