linux/net/hsr/hsr_main.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright 2011-2014 Autronica Fire and Security AS
 *
 * Author(s):
 *	2011-2014 Arvid Brodin, [email protected]
 *
 * Event handling for HSR and PRP devices.
 */

#include <linux/netdevice.h>
#include <net/rtnetlink.h>
#include <linux/rculist.h>
#include <linux/timer.h>
#include <linux/etherdevice.h>
#include "hsr_main.h"
#include "hsr_device.h"
#include "hsr_netlink.h"
#include "hsr_framereg.h"
#include "hsr_slave.h"

static bool hsr_slave_empty(struct hsr_priv *hsr)
{}

static int hsr_netdev_notify(struct notifier_block *nb, unsigned long event,
			     void *ptr)
{}

struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt)
{}

int hsr_get_version(struct net_device *dev, enum hsr_version *ver)
{}
EXPORT_SYMBOL();

static struct notifier_block hsr_nb =;

static int __init hsr_init(void)
{}

static void __exit hsr_exit(void)
{}

module_init();
module_exit(hsr_exit);
MODULE_DESCRIPTION();
MODULE_LICENSE();