Home
last modified time | relevance | path

Searched refs:hsr_priv (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/net/hsr/
Dhsr_framereg.h32 void hsr_del_self_node(struct hsr_priv *hsr);
38 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr);
39 bool hsr_addr_is_redbox(struct hsr_priv *hsr, unsigned char *addr);
53 int hsr_create_self_node(struct hsr_priv *hsr,
57 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos,
60 int hsr_get_node_data(struct hsr_priv *hsr,
Dhsr_device.c66 struct hsr_priv *hsr; in hsr_check_announce()
88 void hsr_check_carrier_and_operstate(struct hsr_priv *hsr) in hsr_check_carrier_and_operstate()
102 int hsr_get_max_mtu(struct hsr_priv *hsr) in hsr_get_max_mtu()
119 struct hsr_priv *hsr; in hsr_dev_change_mtu()
136 struct hsr_priv *hsr; in hsr_dev_open()
172 struct hsr_priv *hsr; in hsr_dev_close()
192 static netdev_features_t hsr_features_recompute(struct hsr_priv *hsr, in hsr_features_recompute()
219 struct hsr_priv *hsr = netdev_priv(dev); in hsr_fix_features()
226 struct hsr_priv *hsr = netdev_priv(dev); in hsr_dev_xmit()
251 struct hsr_priv *hsr = master->hsr; in hsr_init_skb()
[all …]
Dhsr_debugfs.c21 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()
Dhsr_main.h164 struct hsr_priv *hsr;
194 struct hsr_priv { struct
232 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt); argument
283 void hsr_debugfs_init(struct hsr_priv *priv, struct net_device *hsr_dev);
284 void hsr_debugfs_term(struct hsr_priv *priv);
291 static inline void hsr_debugfs_init(struct hsr_priv *priv, in hsr_debugfs_init()
294 static inline void hsr_debugfs_term(struct hsr_priv *priv) in hsr_debugfs_term()
Dhsr_netlink.h17 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]);
Dhsr_device.h16 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);
Dhsr_framereg.c39 bool hsr_addr_is_redbox(struct hsr_priv *hsr, unsigned char *addr) in hsr_addr_is_redbox()
47 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr) in hsr_addr_is_self()
93 int hsr_create_self_node(struct hsr_priv *hsr, in hsr_create_self_node()
116 void hsr_del_self_node(struct hsr_priv *hsr) in hsr_del_self_node()
154 static struct hsr_node *hsr_add_node(struct hsr_priv *hsr, in hsr_add_node()
217 struct hsr_priv *hsr = port->hsr; in hsr_get_node()
287 struct hsr_priv *hsr = port_rcv->hsr; in hsr_handle_sup_frame()
502 static struct hsr_port *get_late_port(struct hsr_priv *hsr, in get_late_port()
527 struct hsr_priv *hsr = from_timer(hsr, t, prune_timer); in hsr_prune_nodes()
595 struct hsr_priv *hsr = from_timer(hsr, t, prune_proxy_timer); in hsr_prune_proxy_nodes()
[all …]
Dhsr_main.c21 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()
Dhsr_slave.c28 struct hsr_priv *hsr; in hsr_handle_frame()
135 static int hsr_portdev_setup(struct hsr_priv *hsr, struct net_device *dev, in hsr_portdev_setup()
176 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev, in hsr_add_port()
222 struct hsr_priv *hsr; in hsr_del_port()
Dhsr_netlink.c129 struct hsr_priv *hsr = netdev_priv(dev); in hsr_dellink()
148 struct hsr_priv *hsr = netdev_priv(dev); in hsr_fill_info()
183 .priv_size = sizeof(struct hsr_priv),
211 void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN], in hsr_nl_ringerror()
254 void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]) in hsr_nl_nodedown()
305 struct hsr_priv *hsr; in hsr_get_node_status()
437 struct hsr_priv *hsr; in hsr_get_node_list()
Dhsr_forward.c35 static bool is_supervision_frame(struct hsr_priv *hsr, struct sk_buff *skb) in is_supervision_frame()
120 static bool is_proxy_supervision_frame(struct hsr_priv *hsr, in is_proxy_supervision_frame()
504 struct hsr_priv *hsr = port->hsr; in hsr_forward_do()
567 static void check_local_dest(struct hsr_priv *hsr, struct sk_buff *skb, in check_local_dest()
590 struct hsr_priv *hsr = port->hsr; in handle_std_frame()
612 struct hsr_priv *hsr = port->hsr; in hsr_fill_frame_info()
657 struct hsr_priv *hsr = port->hsr; in fill_frame_info()
Dhsr_slave.h17 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,