Test Information

TitleGet Destination Options header which the application specifies
CommandLine./tst_dsthop_get --log=5.html --title=Get Destination Options header which the application specifies
TestVersionREL_1_1_18
Start2023/02/03 01:01:44
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

01:01:44Start

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

== get Destination options header ==
01:01:44getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e0, optlen:0x3fff68f84dc)
01:01:44return length 0

== check length of Destination options header ==

== set Destination options header ==
01:01:44setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e8, optlen:8)
01:01:44return 0

== get Destination options header ==
01:01:44getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e0, optlen:0x3fff68f84dc)
01:01:44return length 8

== check length of Destination options header ==

== get Destination options header with NULL data pointer ==
01:01:45getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:(nil), optlen:0x3fff68f84dc)
01:01:45return error EFAULT

== get Destination options header with NULL length pointer ==
01:01:45getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e0, optlen:(nil))
01:01:45return error EFAULT

== get Destination options header with short length ==
01:01:45getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_DSTOPTS, optval:0x3fff68f84e0, optlen:0x3fff68f84dc)
01:01:45return length 4

== check length of Destination options header ==

OK
01:01:45End