Title | Initialize the option and returns a pointer to the location for the option content |
CommandLine | ./tst_inet6_opt_append_init --log=3.html --title=Initialize the option and returns a pointer to the location for the option content |
TestVersion | REL_1_1_18 |
Start | 2023/02/03 01:01:48 |
SystemName | (null) |
KernelVersion | (null) |
01:01:48 | Start |
== calculate the needed buffer size == | |
01:01:48 | inet6_opt_init(extbuf:0x3ffc31783f8, extlen:16) |
01:01:48 | return 2 |
01:01:48 | extension header is: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
== append option with option type set to 0 == | |
01:01:48 | inet6_opt_append(extbuf:0x3ffc31783f8, extlen:16, offset:2, type:0, len:4, align:4, databufp:0x3ffc31783f0) |
01:01:48 | return -1 |
== append option with option type set to 1 == | |
01:01:48 | inet6_opt_append(extbuf:0x3ffc31783f8, extlen:16, offset:2, type:1, len:4, align:4, databufp:0x3ffc31783f0) |
01:01:48 | return -1 |
== append option with align set to 3 == | |
01:01:48 | inet6_opt_append(extbuf:0x3ffc31783f8, extlen:16, offset:2, type:3, len:4, align:3, databufp:0x3ffc31783f0) |
01:01:48 | return -1 |
== append option with align set to 6 == | |
01:01:48 | inet6_opt_append(extbuf:0x3ffc31783f8, extlen:16, offset:2, type:3, len:4, align:6, databufp:0x3ffc31783f0) |
01:01:48 | return -1 |
== append option with align set to 16 == | |
01:01:48 | inet6_opt_append(extbuf:0x3ffc31783f8, extlen:16, offset:2, type:3, len:4, align:16, databufp:0x3ffc31783f0) |
01:01:48 | return -1 |
== append option to extension header == | |
01:01:48 | inet6_opt_append(extbuf:0x3ffc31783f8, extlen:16, offset:2, type:3, len:8, align:4, databufp:0x3ffc31783f0) |
01:01:48 | return 12 |
01:01:48 | extension header is: 00 01 03 08 00 00 00 00 00 00 00 00 00 00 00 00 |
OK | |
01:01:48 | End |