Test Information

TitleExtracts data items of various sizes in the data portion of the option
CommandLine./tst_inet6_opt_get_val --log=10.html --title=Extracts data items of various sizes in the data portion of the option
TestVersionREL_1_1_18
Start2023/02/03 01:01:52
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

01:01:52Start

== calculate the needed buffer size ==
01:01:52inet6_opt_init(extbuf:0x3fff2f78f20, extlen:16)
01:01:52return 2
01:01:52extension header is:
00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00

== append option to extension header ==
01:01:52inet6_opt_append(extbuf:0x3fff2f78f20, extlen:16, offset:2, type:3, len:8, align:4, databufp:0x3fff2f78ef8)
01:01:52return 12
01:01:52extension header is:
00 01 03 08 00 00 00 00 00 00 00 00 00 00 00 00
01:01:52inet6_opt_set_val(databuf:0x3fff2f78f24, offset:0, val:0x3fff2f78f08, vallen:8)
01:01:52return 8
01:01:52extension header is:
00 01 03 08 ff ff ff ff ff ff ff ff 00 00 00 00
01:01:52inet6_opt_get_val(databuf:0x3fff2f78f24, offset:0, val:0x3fff2f78f00, vallen:8)
01:01:52return 8

OK
01:01:52End