forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
6lowpan: add udp compression via nhc layer
This patch move UDP header compression and uncompression into the generic 6LoWPAN nhc header compression layer. Moreover this patch activates the nhc layer compression in iphc compression and uncompression functions. Signed-off-by: Alexander Aring <[email protected]> Cc: Martin Townsend <[email protected]> Reviewed-by: Stefan Schmidt <[email protected]> Acked-by: Jukka Rissanen <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
- Loading branch information
Showing
4 changed files
with
205 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,23 @@ | ||
config 6LOWPAN | ||
menuconfig 6LOWPAN | ||
tristate "6LoWPAN Support" | ||
depends on IPV6 | ||
---help--- | ||
This enables IPv6 over Low power Wireless Personal Area Network - | ||
"6LoWPAN" which is supported by IEEE 802.15.4 or Bluetooth stacks. | ||
|
||
menuconfig 6LOWPAN_NHC | ||
tristate "Next Header Compression Support" | ||
depends on 6LOWPAN | ||
default y | ||
---help--- | ||
Support for next header compression. | ||
|
||
if 6LOWPAN_NHC | ||
|
||
config 6LOWPAN_NHC_UDP | ||
tristate "UDP Header Support" | ||
default y | ||
---help--- | ||
6LoWPAN IPv6 UDP Header compression according to RFC6282. | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
obj-$(CONFIG_6LOWPAN) := 6lowpan.o | ||
obj-$(CONFIG_6LOWPAN) += 6lowpan.o | ||
|
||
6lowpan-y := iphc.o nhc.o | ||
|
||
#rfc6282 nhcs | ||
obj-$(CONFIG_6LOWPAN_NHC_UDP) += nhc_udp.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.