Support partial default initialization with Ipv4Header
& TcpHeader
#50
Labels
enhancement
New feature or request
Milestone
It would be nice if one could simply write:
But this currently causes a compile time error as both
Ipv4Header
as well asTcpHeader
contain private fields. In both of structs cases these private fields contain a buffer for options as well as a length for how much of the buffer is filled.We can get around this limitation by moving the buffers into their own types and making them public.
The text was updated successfully, but these errors were encountered: