Added method to framer that returns the header length if the framer
would create a header with the current packet information. This allows sicslowpan to calculate the max payload size without consuming a sequence number or clearing/restoring the packet buffer.
This commit is contained in:
parent
dbb8f3ec13
commit
68730566a3
5 changed files with 42 additions and 15 deletions
|
@ -45,6 +45,7 @@
|
|||
|
||||
struct framer {
|
||||
|
||||
int (* length)(void);
|
||||
int (* create)(void);
|
||||
int (* parse)(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue