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/02/03 01:01:47 |
SystemName | (null) |
KernelVersion | (null) |
01:01:47 | Start |
== calculate the needed buffer size if extlen is 0 == | |
01:01:47 | inet6_opt_init(extbuf:0x3fff37f8b0c, extlen:0) |
01:01:47 | return -1 |
01:01:47 | 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 == | |
01:01:47 | inet6_opt_init(extbuf:0x3fff37f8b0c, extlen:7) |
01:01:47 | return -1 |
01:01:47 | 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 == | |
01:01:47 | inet6_opt_init(extbuf:0x3fff37f8b0c, extlen:16) |
01:01:47 | return 2 |
01:01:47 | extension header is: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
OK | |
01:01:47 | End |