#include "hsr_slave.h"
#include <linux/etherdevice.h>
#include <linux/if_arp.h>
#include <linux/if_vlan.h>
#include "hsr_main.h"
#include "hsr_device.h"
#include "hsr_forward.h"
#include "hsr_framereg.h"
bool hsr_invalid_dan_ingress_frame(__be16 protocol)
{ … }
static rx_handler_result_t hsr_handle_frame(struct sk_buff **pskb)
{ … }
bool hsr_port_exists(const struct net_device *dev)
{ … }
static int hsr_check_dev_ok(struct net_device *dev,
struct netlink_ext_ack *extack)
{ … }
static int hsr_portdev_setup(struct hsr_priv *hsr, struct net_device *dev,
struct hsr_port *port,
struct netlink_ext_ack *extack)
{ … }
int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,
enum hsr_port_type type, struct netlink_ext_ack *extack)
{ … }
void hsr_del_port(struct hsr_port *port)
{ … }