]> git.baikalelectronics.ru Git - kernel.git/commit
netlink: add nla_get for le32 and le64
authorAlexander Aring <alex.aring@gmail.com>
Mon, 28 Sep 2015 07:00:23 +0000 (09:00 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Sep 2015 11:16:44 +0000 (13:16 +0200)
commit6395920638d45f97a5dfb84144c6315db2ffa158
tree9fbd5f1fb09a8afbb6e4dbe69fa2db2d8d65685d
parentf69350e1b39fa64a03a20779969dd4a2770b36ff
netlink: add nla_get for le32 and le64

This patch adds missing inline wrappers for nla_get_le32 and
nla_get_le64. The 802.15.4 MAC byteorder is little endian and we keep
the byteorder for fields like address configuration in the same
byteorder as it comes from the MAC layer.

To provide these fields for nl802154 userspace applications, we need
these inline wrappers for netlink.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/netlink.h