trafgen: proto: Make bytes pointer const in proto field set functions
commit66cf8073cb31cebf4532afec9b18556aff8088fb
authorTobias Klauser <tklauser@distanz.ch>
Tue, 9 Aug 2016 14:39:13 +0000 (9 16:39 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Tue, 9 Aug 2016 14:39:13 +0000 (9 16:39 +0200)
tree9a115e013af449417261c5f12df1bf7cd1944dd7
parent4e47fd021a6945aa626eaef4446c5b547d8c2a85
trafgen: proto: Make bytes pointer const in proto field set functions

Make the __proto_field_set_bytes() take a const uint8_t *bytes pointer
and also changed all callers accordingly.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen_l2.c
trafgen_proto.c
trafgen_proto.h