Searched refs:hsr_priv (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/net/hsr/ |
H A D | hsr_framereg.h | 31 void hsr_del_self_node(struct hsr_priv *hsr); 37 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr); 50 int hsr_create_self_node(struct hsr_priv *hsr, 54 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, 57 int hsr_get_node_data(struct hsr_priv *hsr,
|
H A D | hsr_debugfs.c | 21 struct hsr_priv *priv = (struct hsr_priv *)sfp->private; in hsr_node_table_show() 59 struct hsr_priv *priv = netdev_priv(dev); in hsr_debugfs_rename() 77 void hsr_debugfs_init(struct hsr_priv *priv, struct net_device *hsr_dev) in hsr_debugfs_init() 107 hsr_debugfs_term(struct hsr_priv *priv) in hsr_debugfs_term()
|
H A D | hsr_device.c | 76 struct hsr_priv *hsr; in hsr_check_announce() 106 int hsr_get_max_mtu(struct hsr_priv *hsr) in hsr_get_max_mtu() 123 struct hsr_priv *hsr; in hsr_dev_change_mtu() 140 struct hsr_priv *hsr; in hsr_dev_open() 204 struct hsr_priv *hsr = netdev_priv(dev); in hsr_fix_features() 211 struct hsr_priv *hsr = netdev_priv(dev); in hsr_dev_xmit() 236 struct hsr_priv *hsr = master->hsr; in hsr_init_skb() 276 struct hsr_priv *hsr = master->hsr; in send_hsr_supervision_frame() 331 struct hsr_priv *hsr = master->hsr; in send_prp_supervision_frame() 371 struct hsr_priv *hsr; in hsr_announce() [all …]
|
H A D | hsr_netlink.h | 17 struct hsr_priv; 23 void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN], 25 void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]);
|
H A D | hsr_device.h | 16 void hsr_del_ports(struct hsr_priv *hsr); 21 void hsr_check_carrier_and_operstate(struct hsr_priv *hsr); 22 int hsr_get_max_mtu(struct hsr_priv *hsr);
|
H A D | hsr_main.h | 162 struct hsr_priv *hsr; 191 struct hsr_priv { struct 224 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt); argument 275 void hsr_debugfs_init(struct hsr_priv *priv, struct net_device *hsr_dev); 276 void hsr_debugfs_term(struct hsr_priv *priv); 283 static inline void hsr_debugfs_init(struct hsr_priv *priv, in hsr_debugfs_init() 286 static inline void hsr_debugfs_term(struct hsr_priv *priv) in hsr_debugfs_term()
|
H A D | hsr_main.c | 21 static bool hsr_slave_empty(struct hsr_priv *hsr) in hsr_slave_empty() 36 struct hsr_priv *hsr; in hsr_netdev_notify() 124 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt) in hsr_port_get_hsr() 136 struct hsr_priv *hsr; in hsr_get_version()
|
H A D | hsr_framereg.c | 39 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr) in hsr_addr_is_self() 77 int hsr_create_self_node(struct hsr_priv *hsr, in hsr_create_self_node() 100 void hsr_del_self_node(struct hsr_priv *hsr) in hsr_del_self_node() 138 static struct hsr_node *hsr_add_node(struct hsr_priv *hsr, in hsr_add_node() 201 struct hsr_priv *hsr = port->hsr; in hsr_get_node() 262 struct hsr_priv *hsr = port_rcv->hsr; in hsr_handle_sup_frame() 473 static struct hsr_port *get_late_port(struct hsr_priv *hsr, in get_late_port() 498 struct hsr_priv *hsr = from_timer(hsr, t, prune_timer); in hsr_prune_nodes() 564 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, in hsr_get_next_node() 586 int hsr_get_node_data(struct hsr_priv *hsr, in hsr_get_node_data()
|
H A D | hsr_slave.c | 28 struct hsr_priv *hsr; in hsr_handle_frame() 125 static int hsr_portdev_setup(struct hsr_priv *hsr, struct net_device *dev, in hsr_portdev_setup() 166 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev, in hsr_add_port() 212 struct hsr_priv *hsr; in hsr_del_port()
|
H A D | hsr_netlink.c | 107 struct hsr_priv *hsr = netdev_priv(dev); in hsr_dellink() 123 struct hsr_priv *hsr = netdev_priv(dev); in hsr_fill_info() 158 .priv_size = sizeof(struct hsr_priv), 186 void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN], in hsr_nl_ringerror() 229 void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]) in hsr_nl_nodedown() 280 struct hsr_priv *hsr; in hsr_get_node_status() 412 struct hsr_priv *hsr; in hsr_get_node_list()
|
H A D | hsr_forward.c | 35 static bool is_supervision_frame(struct hsr_priv *hsr, struct sk_buff *skb) in is_supervision_frame() 418 struct hsr_priv *hsr = port->hsr; in hsr_forward_do() 477 static void check_local_dest(struct hsr_priv *hsr, struct sk_buff *skb, in check_local_dest() 500 struct hsr_priv *hsr = port->hsr; in handle_std_frame() 520 struct hsr_priv *hsr = port->hsr; in hsr_fill_frame_info() 565 struct hsr_priv *hsr = port->hsr; in fill_frame_info()
|
H A D | hsr_slave.h | 17 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,
|