Searched refs:hsr_priv (Results 1 – 12 of 12) sorted by relevance
/net/hsr/ |
D | hsr_device.c | 76 struct hsr_priv *hsr; in hsr_check_announce() 92 void hsr_check_carrier_and_operstate(struct hsr_priv *hsr) in hsr_check_carrier_and_operstate() 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() 177 static netdev_features_t hsr_features_recompute(struct hsr_priv *hsr, in hsr_features_recompute() 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() [all …]
|
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,
|
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()
|
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()
|
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]);
|
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);
|
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()
|
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()
|
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()
|
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()
|
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()
|
D | hsr_slave.h | 17 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,
|