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/26 16:33:39
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

16:33:39Start

== calculate the needed buffer size if extlen is 0 ==
16:33:39inet6_opt_init(extbuf:0x3ffe44793ac, extlen:0)
16:33:39return -1
16:33:39extension 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 ==
16:33:39inet6_opt_init(extbuf:0x3ffe44793ac, extlen:7)
16:33:39return -1
16:33:39extension 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 ==
16:33:39inet6_opt_init(extbuf:0x3ffe44793ac, extlen:16)
16:33:39return 2
16:33:39extension header is:
00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00

OK
16:33:39End