mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
6lowpan: move IPHC functionality defines
This patch removes the IPHC related defines for doing bit manipulation from global 6lowpan header to the iphc file which should the only one implementation which use these defines. Also move next header compression defines to their nhc implementation. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
607b0bd3f2
commit
6350047eb8
4 changed files with 112 additions and 124 deletions
|
|
@ -14,6 +14,9 @@
|
|||
|
||||
#include "6lowpan_i.h"
|
||||
|
||||
#define LOWPAN_FRAG1_HEAD_SIZE 0x4
|
||||
#define LOWPAN_FRAGN_HEAD_SIZE 0x5
|
||||
|
||||
/* don't save pan id, it's intra pan */
|
||||
struct lowpan_addr {
|
||||
u8 mode;
|
||||
|
|
|
|||
Loading…
Reference in a new issue