01:01:50 | Start |
| == calculate the needed buffer size == |
01:01:50 | inet6_opt_init(extbuf:(nil), extlen:16)
|
01:01:50 | return 2
|
| == calculate the needed buffer size while the offset is not multiple of 8 bytes == |
01:01:50 | inet6_opt_finish(extbuf:(nil), extlen:16, offset:2)
|
01:01:50 | return 8
|
| == calculate the needed buffer size while the offset is multiple of 8 bytes == |
01:01:51 | inet6_opt_finish(extbuf:(nil), extlen:16, offset:8)
|
01:01:51 | return 8
|
| == calculate the needed buffer size while the offset is lager than extlen == |
01:01:51 | inet6_opt_finish(extbuf:(nil), extlen:16, offset:17)
|
01:01:51 | return 24
|
| == calculate the needed buffer size while the offset is equal to extlen == |
01:01:51 | inet6_opt_finish(extbuf:(nil), extlen:16, offset:16)
|
01:01:51 | return 16
|
| OK |
01:01:51 | End |