]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: introduce LOWPAN_IPHC_MAX_HC_BUF_LEN
authorAlexander Aring <alex.aring@gmail.com>
Tue, 13 Oct 2015 11:42:56 +0000 (13:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 20 Oct 2015 22:49:24 +0000 (00:49 +0200)
commitfd374ac65343cf14ba87a0e0ef1e1e9ad0be35aa
treed67d1ce786f536b031346e84e1217e59a4ae9b4e
parentbf4fc869bf67826328aee9a62c314b260ec9a46b
6lowpan: introduce LOWPAN_IPHC_MAX_HC_BUF_LEN

This patch introduces the LOWPAN_IPHC_MAX_HC_BUF_LEN define which
represent the worst-case supported IPHC buffer length. It's used to
allocate the stack buffer space for creating the IPHC header.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/6lowpan.h
net/6lowpan/iphc.c