Searched refs:hsr_priv (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/net/hsr/ |
D | hsr_framereg.h | 37 u32 hsr_mac_hash(struct hsr_priv *hsr, const unsigned char *addr); 39 void hsr_del_self_node(struct hsr_priv *hsr); 45 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr); 58 int hsr_create_self_node(struct hsr_priv *hsr, 62 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, 65 int hsr_get_node_data(struct hsr_priv *hsr,
|
D | hsr_device.c | 77 struct hsr_priv *hsr; in hsr_check_announce() 93 void hsr_check_carrier_and_operstate(struct hsr_priv *hsr) in hsr_check_carrier_and_operstate() 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() 180 static netdev_features_t hsr_features_recompute(struct hsr_priv *hsr, in hsr_features_recompute() 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() [all …]
|
D | hsr_debugfs.c | 22 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()
|
D | hsr_main.h | 165 struct hsr_priv *hsr; 188 struct hsr_priv { struct 222 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt); argument 273 void hsr_debugfs_init(struct hsr_priv *priv, struct net_device *hsr_dev); 274 void hsr_debugfs_term(struct hsr_priv *priv); 281 static inline void hsr_debugfs_init(struct hsr_priv *priv, in hsr_debugfs_init() 284 static inline void hsr_debugfs_term(struct hsr_priv *priv) in hsr_debugfs_term()
|
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_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_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_framereg.c | 30 u32 hsr_mac_hash(struct hsr_priv *hsr, const unsigned char *addr) in hsr_mac_hash() 66 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr) in hsr_addr_is_self() 102 int hsr_create_self_node(struct hsr_priv *hsr, in hsr_create_self_node() 130 void hsr_del_self_node(struct hsr_priv *hsr) in hsr_del_self_node() 170 static struct hsr_node *hsr_add_node(struct hsr_priv *hsr, in hsr_add_node() 232 struct hsr_priv *hsr = port->hsr; in hsr_get_node() 289 struct hsr_priv *hsr = port_rcv->hsr; in hsr_handle_sup_frame() 497 static struct hsr_port *get_late_port(struct hsr_priv *hsr, in get_late_port() 522 struct hsr_priv *hsr = from_timer(hsr, t, prune_timer); in hsr_prune_nodes() 599 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, in hsr_get_next_node() [all …]
|
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()
|
D | hsr_netlink.c | 107 struct hsr_priv *hsr = netdev_priv(dev); in hsr_dellink() 125 struct hsr_priv *hsr = netdev_priv(dev); in hsr_fill_info() 160 .priv_size = sizeof(struct hsr_priv), 188 void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN], in hsr_nl_ringerror() 231 void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]) in hsr_nl_nodedown() 282 struct hsr_priv *hsr; in hsr_get_node_status() 414 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() 420 struct hsr_priv *hsr = port->hsr; in hsr_forward_do() 479 static void check_local_dest(struct hsr_priv *hsr, struct sk_buff *skb, in check_local_dest() 502 struct hsr_priv *hsr = port->hsr; in handle_std_frame() 524 struct hsr_priv *hsr = port->hsr; in hsr_fill_frame_info() 569 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,
|