]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - include/net/netlink.h
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)
commitc648a0138b8f79b6cb4bd092dfab761e4becb1c2
tree9fbd5f1fb09a8afbb6e4dbe69fa2db2d8d65685d
parentfbef168fec837ae26c8725737cd4b49dc8a0f917
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