01:01:44 | Start |
| == create an IPv6 socket == |
01:01:44 | socket(domain:AF_INET6, type:SOCK_STREAM, protocol:0)
|
01:01:44 | return sockfd=4
|
| == get Destination options header == |
01:01:44 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e0, optlen:0x3fff68f84dc)
|
01:01:44 | return length 0
|
| == check length of Destination options header == |
| == set Destination options header == |
01:01:44 | setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e8, optlen:8)
|
01:01:44 | return 0
|
| == get Destination options header == |
01:01:44 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e0, optlen:0x3fff68f84dc)
|
01:01:44 | return length 8
|
| == check length of Destination options header == |
| == get Destination options header with NULL data pointer == |
01:01:45 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:(nil), optlen:0x3fff68f84dc)
|
01:01:45 | return error EFAULT
|
| == get Destination options header with NULL length pointer == |
01:01:45 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e0, optlen:(nil))
|
01:01:45 | return error EFAULT
|
| == get Destination options header with short length == |
01:01:45 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e0, optlen:0x3fff68f84dc)
|
01:01:45 | return length 4
|
| == check length of Destination options header == |
| OK |
01:01:45 | End |