Title | Initializes the extension header to have the correct length field |
CommandLine | ./tst_inet6_opt_init_init --log=1.html --title=Initializes the extension header to have the correct length field |
TestVersion | REL_1_1_18 |
Start | 2023/01/26 16:33:39 |
SystemName | (null) |
KernelVersion | (null) |
16:33:39 | Start |
== calculate the needed buffer size if extlen is 0 == | |
16:33:39 | inet6_opt_init(extbuf:0x3ffe44793ac, extlen:0) |
16:33:39 | return -1 |
16:33:39 | extension header is: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
== calculate the needed buffer size if extlen is not multiple of 8 == | |
16:33:39 | inet6_opt_init(extbuf:0x3ffe44793ac, extlen:7) |
16:33:39 | return -1 |
16:33:39 | extension header is: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
== calculate the needed buffer size if extlen is multiple of 8 == | |
16:33:39 | inet6_opt_init(extbuf:0x3ffe44793ac, extlen:16) |
16:33:39 | return 2 |
16:33:39 | extension header is: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
OK | |
16:33:39 | End |