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/01/17 08:41:49
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

08:41:49Start

== create an IPv6 socket ==
08:41:49socket(domain:AF_INET6, type:SOCK_STREAM, protocol:0)
08:41:49return sockfd=4

== remove any sticky Destination Options header ==
08:41:49setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x7ffff33b25d0, optlen:0)
08:41:49return 0

== set Destination Options header ==
08:41:49setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x7ffff33b25d0, optlen:8)
08:41:49return 0

== get Destination Options header ==
08:41:49getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x7ffff33b25d0, optlen:0x7ffff33b25cc)
08:41:49return length 8

== check length of Destination Options header ==

== remove any sticky Destination Options header ==
08:41:49setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x7ffff33b25d0, optlen:0)
08:41:49return 0

== get Destination Options header ==
08:41:49getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x7ffff33b25d0, optlen:0x7ffff33b25cc)
08:41:49return length 0

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

OK
08:41:50End