#include <linux/kernel.h>
#include <linux/gfp.h>
#include <net/genetlink.h>
#include <linux/nl802154.h>
#include "ieee802154.h"
static unsigned int ieee802154_seq_num;
static DEFINE_SPINLOCK(ieee802154_seq_lock);
struct sk_buff *ieee802154_nl_create(int flags, u8 req)
{ … }
int ieee802154_nl_mcast(struct sk_buff *msg, unsigned int group)
{ … }
struct sk_buff *ieee802154_nl_new_reply(struct genl_info *info,
int flags, u8 req)
{ … }
int ieee802154_nl_reply(struct sk_buff *msg, struct genl_info *info)
{ … }
static const struct genl_small_ops ieee802154_ops[] = …;
static const struct genl_multicast_group ieee802154_mcgrps[] = …;
struct genl_family nl802154_family __ro_after_init = …;
int __init ieee802154_nl_init(void)
{ … }
void ieee802154_nl_exit(void)
{ … }