On Tue, Jun 06, 2023 at 03:33:50PM +0200, Claudio Jeker wrote: > My plan is to make ibuf_data() return void * not uint8_t *. Because of > this you can't do pointer arithmetics with that function. > The following diff just uses the same construct that many other functions > in ikev2_pld.c use. > > This code should be rewritten but we are not there yet. The goal is to > introduce a ibuf parse API that avoids all this pointer gymnastics.
ok