NetBSD/regress/lib/libc/getaddrinfo/answer-v4v6

116 lines
7.8 KiB
Plaintext

== basic ones
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http
ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 69
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv tftp
ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 69
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv tftp
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 69
ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 69
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv echo
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo
ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv echo
ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv echo
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo
ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo
ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
== specific address family
arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http
ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
== empty hostname
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo
ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo
ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 69
ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 69
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80
servname not supported for ai_socktype
arg: flags 0x3 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http
ai1: flags 0x3 family 24 socktype 2 protocol 17 addrlen 28 host :: serv http
ai2: flags 0x3 family 24 socktype 1 protocol 6 addrlen 28 host :: serv http
ai3: flags 0x3 family 2 socktype 2 protocol 17 addrlen 16 host 0.0.0.0 serv http
ai4: flags 0x3 family 2 socktype 1 protocol 6 addrlen 16 host 0.0.0.0 serv http
arg: flags 0x3 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
ai1: flags 0x3 family 24 socktype 2 protocol 17 addrlen 28 host :: serv echo
ai2: flags 0x3 family 24 socktype 1 protocol 6 addrlen 28 host :: serv echo
ai3: flags 0x3 family 2 socktype 2 protocol 17 addrlen 16 host 0.0.0.0 serv echo
ai4: flags 0x3 family 2 socktype 1 protocol 6 addrlen 16 host 0.0.0.0 serv echo
arg: flags 0x3 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp
ai1: flags 0x3 family 24 socktype 2 protocol 17 addrlen 28 host :: serv 69
ai2: flags 0x3 family 2 socktype 2 protocol 17 addrlen 16 host 0.0.0.0 serv 69
arg: flags 0x3 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80
servname not supported for ai_socktype
arg: flags 0x2 family 0 socktype 1 protocol 0 addrlen 0 host (empty) serv 80
ai1: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
arg: flags 0x2 family 0 socktype 2 protocol 0 addrlen 0 host (empty) serv 80
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
== empty servname
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty)
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty)
ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv (empty)
hostname nor servname provided, or not known
== sock_raw
arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty)
ai1: flags 0x2 family 24 socktype 3 protocol 0 addrlen 28 host ::1 serv 0
ai2: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0
arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty)
ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
ai2: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0
arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80
servname not supported for ai_socktype
arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www
servname not supported for ai_socktype
arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty)
ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
== unsupported family
arg: flags 0x2 family 99 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
ai_family not supported
== the following items are specified in jinmei scopeaddr format doc.
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host fe80::1%lo0 serv http
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host fe80::1%lo0 serv http
ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host fe80::1%lo0 serv http