This is from https://github.com/tass-belgium/picotcp/blob/9b727d736d661e578faec3137869d254d64a0633/stack/pico_stack.c#L834.