#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/if_arp.h>
#include <net/netlink.h>
#include <net/genetlink.h>
#include <net/cfg802154.h>
#include <net/af_ieee802154.h>
#include <net/ieee802154_netdev.h>
#include <net/rtnetlink.h>
#include <linux/nl802154.h>
#include "ieee802154.h"
#include "rdev-ops.h"
#include "core.h"
static int ieee802154_nl_fill_phy(struct sk_buff *msg, u32 portid,
u32 seq, int flags, struct wpan_phy *phy)
{ … }
int ieee802154_list_phy(struct sk_buff *skb, struct genl_info *info)
{ … }
struct dump_phy_data { … };
static int ieee802154_dump_phy_iter(struct wpan_phy *phy, void *_data)
{ … }
int ieee802154_dump_phy(struct sk_buff *skb, struct netlink_callback *cb)
{ … }
int ieee802154_add_iface(struct sk_buff *skb, struct genl_info *info)
{ … }
int ieee802154_del_iface(struct sk_buff *skb, struct genl_info *info)
{ … }