Test Information

TitleParse received option extension headers returning the next option which is the given option type
CommandLine./tst_inet6_opt_find --log=9.html --title=Parse received option extension headers returning the next option which is the given option type
TestVersionREL_1_1_18
Start2023/01/26 16:33:43
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

16:33:43Start

== calculate the needed buffer size ==
16:33:43inet6_opt_init(extbuf:0x3ffd2d78490, extlen:16)
16:33:43return 2
16:33:43extension header is:
00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
16:33:43inet6_opt_find(extbuf:0x3ffd2d78490, extlen:16, offset:0, typep:3, lenp:0x3ffd2d7847c, databufp:0x3ffd2d78480)
16:33:43return -1

== append option to extension header ==
16:33:44inet6_opt_append(extbuf:0x3ffd2d78490, extlen:16, offset:2, type:3, len:8, align:4, databufp:0x3ffd2d78480)
16:33:44return 12
16:33:44extension header is:
00 01 03 08 00 00 00 00 00 00 00 00 00 00 00 00
16:33:44inet6_opt_set_val(databuf:0x3ffd2d78494, offset:0, val:0x3ffd2d78488, vallen:8)
16:33:44return 8
16:33:44extension header is:
00 01 03 08 ff ff ff ff ff ff ff ff 00 00 00 00
16:33:44inet6_opt_find(extbuf:0x3ffd2d78490, extlen:16, offset:0, typep:4, lenp:0x3ffd2d7847c, databufp:0x3ffd2d78480)
16:33:44return -1
16:33:44inet6_opt_find(extbuf:0x3ffd2d78490, extlen:16, offset:0, typep:3, lenp:0x3ffd2d7847c, databufp:0x3ffd2d78480)
16:33:44return 12

OK
16:33:44End