Title | Parse 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 |
TestVersion | REL_1_1_18 |
Start | 2023/01/26 16:33:43 |
SystemName | (null) |
KernelVersion | (null) |
16:33:43 | Start |
== calculate the needed buffer size == | |
16:33:43 | inet6_opt_init(extbuf:0x3fff70f8da0, extlen:16) |
16:33:43 | return 2 |
16:33:43 | extension header is: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
16:33:43 | inet6_opt_next(extbuf:0x3fff70f8da0, extlen:16, offset:0, typep:0x3fff70f8d8f, lenp:0x3fff70f8d88, databufp:0x3fff70f8d90) |
16:33:43 | return -1 |
== append option to extension header == | |
16:33:43 | inet6_opt_append(extbuf:0x3fff70f8da0, extlen:16, offset:2, type:3, len:8, align:4, databufp:0x3fff70f8d90) |
16:33:43 | return 12 |
16:33:43 | extension header is: 00 01 03 08 00 00 00 00 00 00 00 00 00 00 00 00 |
16:33:43 | inet6_opt_set_val(databuf:0x3fff70f8da4, offset:0, val:0x3fff70f8d98, vallen:8) |
16:33:43 | return 8 |
16:33:43 | extension header is: 00 01 03 08 ff ff ff ff ff ff ff ff 00 00 00 00 |
16:33:43 | inet6_opt_next(extbuf:0x3fff70f8da0, extlen:16, offset:0, typep:0x3fff70f8d8f, lenp:0x3fff70f8d88, databufp:0x3fff70f8d90) |
16:33:43 | return 12 |
OK | |
16:33:43 | End |