OSDN Git Service

include: uapi: linux: add rpl sr header definition
authorAlexander Aring <alex.aring@gmail.com>
Fri, 27 Mar 2020 22:00:18 +0000 (18:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 05:30:57 +0000 (22:30 -0700)
commitcfa933d938d896c37ca0b952437875886d84f3f5
tree3c0e6668fcf9fd15511ee750d93d02a829776e72
parentc189b5483c1bef24dc3755177b19a595c7e668c9
include: uapi: linux: add rpl sr header definition

This patch adds a uapi header for rpl struct definition. The segments
data can be accessed over rpl_segaddr or rpl_segdata macros. In case of
compri and compre is zero the segment data is not compressed and can be
accessed by rpl_segaddr. In the other case the compressed data can be
accessed by rpl_segdata and interpreted as byte array.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rpl.h [new file with mode: 0644]