Test Information

TitleParse received option extension headers returning the next option
CommandLine./tst_inet6_opt_next --log=8.html --title=Parse received option extension headers returning the next option
TestVersionREL_1_1_18
Start2023/01/17 08:41:54
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

08:41:54Start

== calculate the needed buffer size ==
08:41:55inet6_opt_init(extbuf:0x7ffcf65fd4c0, extlen:16)
08:41:55return 2
08:41:55extension header is:
00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
08:41:55inet6_opt_next(extbuf:0x7ffcf65fd4c0, extlen:16, offset:0, typep:0x7ffcf65fd4af, lenp:0x7ffcf65fd4a8, databufp:0x7ffcf65fd4b0)
08:41:55return -1

== append option to extension header ==
08:41:55inet6_opt_append(extbuf:0x7ffcf65fd4c0, extlen:16, offset:2, type:3, len:8, align:4, databufp:0x7ffcf65fd4b0)
08:41:55return 12
08:41:55extension header is:
00 01 03 08 00 00 00 00 00 00 00 00 00 00 00 00
08:41:55inet6_opt_set_val(databuf:0x7ffcf65fd4c4, offset:0, val:0x7ffcf65fd4b8, vallen:8)
08:41:55return 8
08:41:55extension header is:
00 01 03 08 ff ff ff ff ff ff ff ff 00 00 00 00
08:41:55inet6_opt_next(extbuf:0x7ffcf65fd4c0, extlen:16, offset:0, typep:0x7ffcf65fd4af, lenp:0x7ffcf65fd4a8, databufp:0x7ffcf65fd4b0)
08:41:55return 12

OK
08:41:55End