Commit Graph

5 Commits

Author SHA1 Message Date
giomba 260f537125 adding comments here and there 2019-12-24 23:41:31 +01:00
giomba 339de9322f software engineering for best resource management
actually only one packet is managed at a time,
then a packetin+packetout buffer area has been created for IPv6 packets.
Upper layers can then access this data by means of pointer,
avoiding further allocations on the stack.
Obviously, packetin is read-only (eg. upper layers can only read it)
2019-12-24 17:59:51 +01:00
giomba c07807fc86 removed serialize/deserialize methods
it's everything already stored as serialized, just to save memory
(we only have 2k of memory)
2019-12-23 22:30:58 +01:00
giomba 11e56ac38c code polishing 2019-12-23 18:57:21 +01:00
giomba 12d09f24c5 First commit 2019-12-23 14:13:13 +01:00