Test Information

TitleInitializes the extension header to have the correct length field
CommandLine./tst_inet6_opt_init_init --log=1.html --title=Initializes the extension header to have the correct length field
TestVersionREL_1_1_18
Start2023/01/17 08:41:50
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

08:41:50Start

== calculate the needed buffer size if extlen is 0 ==
08:41:50inet6_opt_init(extbuf:0x7ffe6d93c9e0, extlen:0)
08:41:50return -1
08:41:50extension header is:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

== calculate the needed buffer size if extlen is not multiple of 8 ==
08:41:50inet6_opt_init(extbuf:0x7ffe6d93c9e0, extlen:7)
08:41:50return -1
08:41:50extension header is:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

== calculate the needed buffer size if extlen is multiple of 8 ==
08:41:50inet6_opt_init(extbuf:0x7ffe6d93c9e0, extlen:16)
08:41:50return 2
08:41:50extension header is:
00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00

OK
08:41:50End