Lines Matching refs:hsr_dev
277 struct net_device *hsr_dev; in hsr_get_node_status() local
303 hsr_dev = dev_get_by_index_rcu(genl_info_net(info), in hsr_get_node_status()
305 if (!hsr_dev) in hsr_get_node_status()
307 if (!is_hsr_master(hsr_dev)) in hsr_get_node_status()
325 res = nla_put_u32(skb_out, HSR_A_IFINDEX, hsr_dev->ifindex); in hsr_get_node_status()
329 hsr = netdev_priv(hsr_dev); in hsr_get_node_status()
412 struct net_device *hsr_dev; in hsr_get_node_list() local
429 hsr_dev = dev_get_by_index_rcu(genl_info_net(info), in hsr_get_node_list()
431 if (!hsr_dev) in hsr_get_node_list()
433 if (!is_hsr_master(hsr_dev)) in hsr_get_node_list()
453 res = nla_put_u32(skb_out, HSR_A_IFINDEX, hsr_dev->ifindex); in hsr_get_node_list()
458 hsr = netdev_priv(hsr_dev); in hsr_get_node_list()