01:01:42 | Start |
| == create an IPv6/UDP socket == |
01:01:42 | socket(domain:AF_INET6, type:SOCK_DGRAM, protocol:0)
|
01:01:42 | return sockfd=4
|
| == enable socket to receive destination options == |
01:01:42 | setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_RECVDSTOPTS, optval:0x3fffcbf8200, optlen:4)
|
01:01:42 | return 0
|
| == set Destination options header of socket == |
01:01:42 | setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fffcbf8280, optlen:8)
|
01:01:42 | return 0
|
01:01:43 | tst_get_unused_port() get port 43299
|
| == bind socket to address == |
01:01:43 | bind(sockfd:4, my_addr:0x3fffcbf82d4, addrlen:28)
|
01:01:43 | return 0
|
| == send message to itself == |
01:01:44 | sendto(sockfd:4, buf:0x1007ee0, len:17, flags:0, to:0x3fffcbf82d4, tolen:28)
|
01:01:44 | return 17
|
| == receive message == |
01:01:44 | recvmsg(sockfd:4, msg:0x3fffcbf8288, flags:64)
|
01:01:44 | return 17
|
| == check the received destination option == |
| the received destination option length: 24 |
01:01:44 | close(4)
|
| OK |
01:01:44 | End |