Title | Parse 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 |
TestVersion | REL_1_1_18 |
Start | 2023/02/03 01:01:52 |
SystemName | (null) |
KernelVersion | (null) |
01:01:52 | Start |
== calculate the needed buffer size == | |
01:01:52 | inet6_opt_init(extbuf:0x3ffe64f87f0, extlen:16) |
01:01:52 | return 2 |
01:01:52 | extension header is: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
01:01:52 | inet6_opt_find(extbuf:0x3ffe64f87f0, extlen:16, offset:0, typep:3, lenp:0x3ffe64f87dc, databufp:0x3ffe64f87e0) |
01:01:52 | return -1 |
== append option to extension header == | |
01:01:52 | inet6_opt_append(extbuf:0x3ffe64f87f0, extlen:16, offset:2, type:3, len:8, align:4, databufp:0x3ffe64f87e0) |
01:01:52 | return 12 |
01:01:52 | extension header is: 00 01 03 08 00 00 00 00 00 00 00 00 00 00 00 00 |
01:01:52 | inet6_opt_set_val(databuf:0x3ffe64f87f4, offset:0, val:0x3ffe64f87e8, vallen:8) |
01:01:52 | return 8 |
01:01:52 | extension header is: 00 01 03 08 ff ff ff ff ff ff ff ff 00 00 00 00 |
01:01:52 | inet6_opt_find(extbuf:0x3ffe64f87f0, extlen:16, offset:0, typep:4, lenp:0x3ffe64f87dc, databufp:0x3ffe64f87e0) |
01:01:52 | return -1 |
01:01:52 | inet6_opt_find(extbuf:0x3ffe64f87f0, extlen:16, offset:0, typep:3, lenp:0x3ffe64f87dc, databufp:0x3ffe64f87e0) |
01:01:52 | return 12 |
OK | |
01:01:52 | End |