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/01/17 08:41:55 |
SystemName | (null) |
KernelVersion | (null) |
08:41:55 | Start |
== calculate the needed buffer size == | |
08:41:55 | inet6_opt_init(extbuf:0x7ffde64b9d90, extlen:16) |
08:41:55 | return 2 |
08:41:55 | extension header is: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
08:41:55 | inet6_opt_find(extbuf:0x7ffde64b9d90, extlen:16, offset:0, typep:3, lenp:0x7ffde64b9d7c, databufp:0x7ffde64b9d80) |
08:41:55 | return -1 |
== append option to extension header == | |
08:41:55 | inet6_opt_append(extbuf:0x7ffde64b9d90, extlen:16, offset:2, type:3, len:8, align:4, databufp:0x7ffde64b9d80) |
08:41:55 | return 12 |
08:41:55 | extension header is: 00 01 03 08 00 00 00 00 00 00 00 00 00 00 00 00 |
08:41:55 | inet6_opt_set_val(databuf:0x7ffde64b9d94, offset:0, val:0x7ffde64b9d88, vallen:8) |
08:41:55 | return 8 |
08:41:55 | extension header is: 00 01 03 08 ff ff ff ff ff ff ff ff 00 00 00 00 |
08:41:55 | inet6_opt_find(extbuf:0x7ffde64b9d90, extlen:16, offset:0, typep:4, lenp:0x7ffde64b9d7c, databufp:0x7ffde64b9d80) |
08:41:55 | return -1 |
08:41:55 | inet6_opt_find(extbuf:0x7ffde64b9d90, extlen:16, offset:0, typep:3, lenp:0x7ffde64b9d7c, databufp:0x7ffde64b9d80) |
08:41:55 | return 12 |
OK | |
08:41:55 | End |