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)
commitbf513fd6fc609590b7835c0dba624ccb9f8f9214
treed67d1ce786f536b031346e84e1217e59a4ae9b4e
parentcefdb801c80736017b5a0d97a4a9f816d5a98fc4
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