]> Pileus Git - ~andy/linux/commit
6lowpan: introduce lowpan_push_hc_data function
authorAlexander Aring <alex.aring@gmail.com>
Tue, 17 Dec 2013 13:21:21 +0000 (14:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 17 Dec 2013 14:16:47 +0000 (06:16 -0800)
commit3109f2e28b0a3216e07d4933d28a8480c6520379
treec65c1fa607ed599a3922a1f820ede8270ad86fe8
parent787949039fcd87b58aabeb494d031912209086ae
6lowpan: introduce lowpan_push_hc_data function

This patch introduce the lowpan_push_hc_data function to set data in
the iphc buffer.

It's a common case to set data and increase the buffer pointer. This
helper function can be used many times in header_compress function to
generate the iphc header.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan.h