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 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html