Test Information

Titleset router alert option use IPV6_ROUTER_ALERT
CommandLine./tst_ipv6_router_alert --log=9.html --title=set router alert option use IPV6_ROUTER_ALERT
TestVersionREL_1_1_18
Start2023/02/03 01:02:15
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

01:02:15Start

== create an IPv6 raw socket ==
01:02:16socket(domain:AF_INET6, type:SOCK_RAW, protocol:IPPROTO_RAW)
01:02:16return sockfd=4

== set the value IPV6_ROUTER_ALERT option to 0 ==
01:02:16setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_ROUTER_ALERT, optval:0x3fffde78480, optlen:4)
01:02:16return 0

== set the value IPV6_ROUTER_ALERT option to 1 ==
01:02:16setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_ROUTER_ALERT, optval:0x3fffde78480, optlen:4)
01:02:16return error EADDRINUSE

== set the value IPV6_ROUTER_ALERT option to -1 ==
01:02:16setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_ROUTER_ALERT, optval:0x3fffde78480, optlen:4)
01:02:16return 0

== set the value IPV6_ROUTER_ALERT option to 1 ==
01:02:16setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_ROUTER_ALERT, optval:0x3fffde78480, optlen:4)
01:02:16return 0
01:02:16close(4)

OK
01:02:16End