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