]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
6lowpan: add generic nhc layer interface
authorAlexander Aring <alex.aring@gmail.com>
Fri, 9 Jan 2015 15:42:57 +0000 (16:42 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 14 Feb 2015 22:08:44 +0000 (23:08 +0100)
commit92aa7c65d295f3cbb96904afe335f683e55584b8
tree8e7081841af43fa90e03fc44cfa95405aa7822bb
parent129a76931a6e90ddca586ba6e4292b5b429488bc
6lowpan: add generic nhc layer interface

This patch adds a generic next header compression layer interface. There
exists various methods to do a header compression after 6LoWPAN header
to save payload. This introduce a generic nhc header which allow a
simple adding of a new header compression format instead of a static
implementation inside the 6LoWPAN header compression and uncompression
function.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Cc: Martin Townsend <mtownsend1973@gmail.com>
Reviewed-by: Stefan Schmidt <s.schmidt@samsung.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/6lowpan/Makefile
net/6lowpan/nhc.c [new file with mode: 0644]
net/6lowpan/nhc.h [new file with mode: 0644]