08:41:45 | Start |
| == create an IPv6/UDP socket == |
08:41:45 | socket(domain:AF_INET6, type:SOCK_DGRAM, protocol:0)
|
08:41:45 | return sockfd=4
|
| == enable socket to receive destination options == |
08:41:45 | setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_RECVDSTOPTS, optval:0x7ffd86d9712c, optlen:4)
|
08:41:45 | return 0
|
| == set Destination options header of socket == |
08:41:45 | setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x7ffd86d971b8, optlen:8)
|
08:41:45 | return 0
|
08:41:46 | tst_get_unused_port() get port 48650
|
| == bind socket to address == |
08:41:47 | bind(sockfd:4, my_addr:0x7ffd86d97210, addrlen:28)
|
08:41:47 | return 0
|
| == send message to itself == |
08:41:47 | sendto(sockfd:4, buf:0x407010, len:17, flags:0, to:0x7ffd86d97210, tolen:28)
|
08:41:47 | return 17
|
| == receive message == |
08:41:47 | recvmsg(sockfd:4, msg:0x7ffd86d971c0, flags:64)
|
08:41:47 | return 17
|
| == check the received destination option == |
| the received destination option length: 24 |
08:41:47 | close(4)
|
| OK |
08:41:47 | End |