linux/net/ieee802154/core.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2007, 2008, 2009 Siemens AG
 */

#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>

#include <net/cfg802154.h>
#include <net/rtnetlink.h>

#include "ieee802154.h"
#include "nl802154.h"
#include "sysfs.h"
#include "core.h"

/* name for sysfs, %d is appended */
#define PHY_NAME

/* RCU-protected (and RTNL for writers) */
LIST_HEAD();
int cfg802154_rdev_list_generation;

struct wpan_phy *wpan_phy_find(const char *str)
{}
EXPORT_SYMBOL();

struct wpan_phy_iter_data {};

static int wpan_phy_iter(struct device *dev, void *_data)
{}

int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data),
		      void *data)
{}
EXPORT_SYMBOL();

struct cfg802154_registered_device *
cfg802154_rdev_by_wpan_phy_idx(int wpan_phy_idx)
{}

struct wpan_phy *wpan_phy_idx_to_wpan_phy(int wpan_phy_idx)
{}

struct wpan_phy *
wpan_phy_new(const struct cfg802154_ops *ops, size_t priv_size)
{}
EXPORT_SYMBOL();

int wpan_phy_register(struct wpan_phy *phy)
{}
EXPORT_SYMBOL();

void wpan_phy_unregister(struct wpan_phy *phy)
{}
EXPORT_SYMBOL();

void wpan_phy_free(struct wpan_phy *phy)
{}
EXPORT_SYMBOL();

static void cfg802154_free_peer_structures(struct wpan_dev *wpan_dev)
{}

int cfg802154_switch_netns(struct cfg802154_registered_device *rdev,
			   struct net *net)
{}

void cfg802154_dev_free(struct cfg802154_registered_device *rdev)
{}

static void
cfg802154_update_iface_num(struct cfg802154_registered_device *rdev,
			   int iftype, int num)
{}

static int cfg802154_netdev_notifier_call(struct notifier_block *nb,
					  unsigned long state, void *ptr)
{}

static struct notifier_block cfg802154_netdev_notifier =;

static void __net_exit cfg802154_pernet_exit(struct net *net)
{}

static struct pernet_operations cfg802154_pernet_ops =;

static int __init wpan_phy_class_init(void)
{}
subsys_initcall(wpan_phy_class_init);

static void __exit wpan_phy_class_exit(void)
{}
module_exit(wpan_phy_class_exit);

MODULE_LICENSE();
MODULE_DESCRIPTION();
MODULE_AUTHOR();