Searched refs:hsr_priv (Results 1 – 12 of 12) sorted by relevance
/linux/net/hsr/ |
A D | hsr_device.c | 77 struct hsr_priv *hsr; in hsr_check_announce() 109 int hsr_get_max_mtu(struct hsr_priv *hsr) in hsr_get_max_mtu() 126 struct hsr_priv *hsr; in hsr_dev_change_mtu() 143 struct hsr_priv *hsr; in hsr_dev_open() 207 struct hsr_priv *hsr = netdev_priv(dev); in hsr_fix_features() 214 struct hsr_priv *hsr = netdev_priv(dev); in hsr_dev_xmit() 237 struct hsr_priv *hsr = master->hsr; in hsr_init_skb() 277 struct hsr_priv *hsr = master->hsr; in send_hsr_supervision_frame() 332 struct hsr_priv *hsr = master->hsr; in send_prp_supervision_frame() 374 struct hsr_priv *hsr; in hsr_announce() [all …]
|
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,
|
A D | hsr_debugfs.c | 29 struct hsr_priv *priv = (struct hsr_priv *)sfp->private; in hsr_node_table_show() 67 struct hsr_priv *priv = netdev_priv(dev); in hsr_debugfs_rename() 85 void hsr_debugfs_init(struct hsr_priv *priv, struct net_device *hsr_dev) in hsr_debugfs_init() 115 hsr_debugfs_term(struct hsr_priv *priv) in hsr_debugfs_term()
|
A D | hsr_main.h | 178 struct hsr_priv *hsr; 201 struct hsr_priv { struct 233 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt); argument 289 void hsr_debugfs_init(struct hsr_priv *priv, struct net_device *hsr_dev); 290 void hsr_debugfs_term(struct hsr_priv *priv); 297 static inline void hsr_debugfs_init(struct hsr_priv *priv, in hsr_debugfs_init() 300 static inline void hsr_debugfs_term(struct hsr_priv *priv) in hsr_debugfs_term()
|
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);
|
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]);
|
A D | hsr_framereg.c | 41 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr) in hsr_addr_is_self() 78 int hsr_create_self_node(struct hsr_priv *hsr, in hsr_create_self_node() 107 void hsr_del_self_node(struct hsr_priv *hsr) in hsr_del_self_node() 147 static struct hsr_node *hsr_add_node(struct hsr_priv *hsr, in hsr_add_node() 209 struct hsr_priv *hsr = port->hsr; in hsr_get_node() 266 struct hsr_priv *hsr = port_rcv->hsr; in hsr_handle_sup_frame() 468 static struct hsr_port *get_late_port(struct hsr_priv *hsr, in get_late_port() 493 struct hsr_priv *hsr = from_timer(hsr, t, prune_timer); in hsr_prune_nodes() 556 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, in hsr_get_next_node() 578 int hsr_get_node_data(struct hsr_priv *hsr, in hsr_get_node_data()
|
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()
|
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() 159 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev, in hsr_add_port() 205 struct hsr_priv *hsr; in hsr_del_port()
|
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()
|
A D | hsr_forward.c | 35 static bool is_supervision_frame(struct hsr_priv *hsr, struct sk_buff *skb) in is_supervision_frame() 419 struct hsr_priv *hsr = port->hsr; in hsr_forward_do() 478 static void check_local_dest(struct hsr_priv *hsr, struct sk_buff *skb, in check_local_dest() 501 struct hsr_priv *hsr = port->hsr; in handle_std_frame() 523 struct hsr_priv *hsr = port->hsr; in hsr_fill_frame_info() 568 struct hsr_priv *hsr = port->hsr; in fill_frame_info()
|
A D | hsr_slave.h | 17 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,
|
Completed in 14 milliseconds