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/02/03 01:01:47
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

01:01:47Start

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

OK
01:01:47End