Test Information

TitleRemove any sticky Destination Options header
CommandLine./tst_remove_dstopt --log=7.html --title=Remove any sticky Destination Options header
TestVersionREL_1_1_18
Start2023/02/03 01:01:46
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

01:01:46Start

== create an IPv6 socket ==
01:01:46socket(domain:AF_INET6, type:SOCK_STREAM, protocol:0)
01:01:46return sockfd=4

== remove any sticky Destination Options header ==
01:01:46setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffd64f8ed8, optlen:0)
01:01:46return 0

== set Destination Options header ==
01:01:46setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffd64f8ed8, optlen:8)
01:01:46return 0

== get Destination Options header ==
01:01:46getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffd64f8ed8, optlen:0x3ffd64f8ed4)
01:01:46return length 8

== check length of Destination Options header ==

== remove any sticky Destination Options header ==
01:01:46setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffd64f8ed8, optlen:0)
01:01:46return 0

== get Destination Options header ==
01:01:46getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3ffd64f8ed8, optlen:0x3ffd64f8ed4)
01:01:46return length 0

== check the Destination Options header has been removed ==

OK
01:01:47End