16:33:36 | Start |
| == create an IPv6 socket == |
16:33:36 | socket(domain:AF_INET6, type:SOCK_STREAM, protocol:0)
|
16:33:36 | return sockfd=4
|
| == get Destination options header == |
16:33:36 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffe54792b0, optlen:0x3ffe54792ac)
|
16:33:36 | return length 0
|
| == check length of Destination options header == |
| == set Destination options header == |
16:33:36 | setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffe54792b8, optlen:8)
|
16:33:36 | return 0
|
| == get Destination options header == |
16:33:36 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffe54792b0, optlen:0x3ffe54792ac)
|
16:33:36 | return length 8
|
| == check length of Destination options header == |
| == get Destination options header with NULL data pointer == |
16:33:36 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:(nil), optlen:0x3ffe54792ac)
|
16:33:36 | return error EFAULT
|
| == get Destination options header with NULL length pointer == |
16:33:36 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffe54792b0, optlen:(nil))
|
16:33:36 | return error EFAULT
|
| == get Destination options header with short length == |
16:33:37 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffe54792b0, optlen:0x3ffe54792ac)
|
16:33:37 | return length 4
|
| == check length of Destination options header == |
| OK |
16:33:37 | End |