Martin Stein 373134c4e7 net: safer access to packet data
Replace packet method 'T *data' by the new methods 'T &reinterpret_data'
for parsing or modifying existing sub-protocol packets and 'T
&construct_at_data' for composing a new sub-protocol packet. This has
the advantage that, when composing a new packet, the default constructor
that zero-fills the packet is always called first.

Fixes #2751
2018-05-03 15:31:54 +02:00
..
2017-03-24 16:19:56 +01:00
2018-05-03 15:31:25 +02:00
2018-05-03 15:31:54 +02:00
2018-04-10 11:11:51 +02:00
2018-04-19 13:38:33 +02:00