Home
last modified time | relevance | path

Searched refs:interlink (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/net/hsr/
Dhsr_netlink.c40 struct net_device *link[2], *interlink = NULL; in hsr_newlink() local
72 interlink = __dev_get_by_index(src_net, in hsr_newlink()
75 if (interlink && interlink == link[0]) { in hsr_newlink()
80 if (interlink && interlink == link[1]) { in hsr_newlink()
116 if (interlink) { in hsr_newlink()
123 return hsr_dev_finalize(dev, link, interlink, multicast_spec, in hsr_newlink()
Dhsr_device.c421 struct hsr_port *interlink; in hsr_proxy_announce() local
429 interlink = hsr_port_get_hsr(hsr, HSR_PT_INTERLINK); in hsr_proxy_announce()
430 if (!interlink) in hsr_proxy_announce()
436 hsr->proto_ops->send_sv_frame(interlink, &interval, in hsr_proxy_announce()
440 if (is_admin_up(interlink->dev)) { in hsr_proxy_announce()
596 struct net_device *interlink, unsigned char multicast_spec, in hsr_dev_finalize() argument
669 if (interlink) { in hsr_dev_finalize()
670 res = hsr_add_port(hsr, interlink, HSR_PT_INTERLINK, extack); in hsr_dev_finalize()
675 ether_addr_copy(hsr->macaddress_redbox, interlink->dev_addr); in hsr_dev_finalize()
Dhsr_device.h19 struct net_device *interlink, unsigned char multicast_spec,
/linux-6.12.1/tools/testing/selftests/net/hsr/
Dhsr_redbox.sh115 …ip -net "${ns2}" link add name hsr2 type hsr slave1 ns2eth1 slave2 ns2eth2 interlink ns2eth3 super…