Re: [PATCH v1 1/6] net: Generalize udp based tunnel offload
From: Hannes Frederic Sowa <hidden>
Date: 2015-12-04 20:02:48
From: Hannes Frederic Sowa <hidden>
Date: 2015-12-04 20:02:48
On Fri, Dec 4, 2015, at 20:59, Hannes Frederic Sowa wrote:
And then filling out those fields using the offsetof and sizeof of the headers, but this seemed to be very difficult a) because they use bitmasks (which of course could be converted) or in case of IPv6 a schema would have to be specified how to walk down the IPv6 extensions. This seems also to be true for NSH. Maybe gcc could help with compile-time introspection with bitfields in the future but I doubt that for now. Duplicating and maintaining two header structs for one tunneling protoco
Seems like I accidentally removed something here: I wanted to write that maintaining multiple descriptions of tunneling headers seems not worthwhile for now. Bye, Hannes