Home
last modified time | relevance | path

Searched refs:hsr_port (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/net/hsr/
Dhsr_forward.h16 void hsr_forward_skb(struct sk_buff *skb, struct hsr_port *port);
18 struct hsr_port *port);
20 struct hsr_port *port);
22 struct hsr_port *port);
24 struct hsr_port *port);
25 bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port);
26 bool hsr_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port);
Dhsr_device.c31 static void hsr_set_operstate(struct hsr_port *master, bool has_carrier) in hsr_set_operstate()
46 static bool hsr_check_carrier(struct hsr_port *master) in hsr_check_carrier()
48 struct hsr_port *port; in hsr_check_carrier()
90 struct hsr_port *master; in hsr_check_carrier_and_operstate()
105 struct hsr_port *port; in hsr_get_max_mtu()
137 struct hsr_port *port; in hsr_dev_open()
171 struct hsr_port *port; in hsr_dev_close()
196 struct hsr_port *port; in hsr_features_recompute()
227 struct hsr_port *master; in hsr_dev_xmit()
249 static struct sk_buff *hsr_init_skb(struct hsr_port *master) in hsr_init_skb()
[all …]
Dhsr_framereg.h21 struct hsr_port *port_rcv;
34 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db,
43 struct hsr_port *port);
45 void hsr_register_frame_in(struct hsr_node *node, struct hsr_port *port,
47 int hsr_register_frame_out(struct hsr_port *port, struct hsr_node *node,
Dhsr_forward.c179 struct hsr_port *port) in hsr_get_untagged_frame()
197 struct hsr_port *port) in prp_get_untagged_frame()
220 struct hsr_port *port) in prp_set_lan_id()
237 struct hsr_port *port) in prp_fill_rct()
266 struct hsr_port *port) in hsr_set_path_id()
280 struct hsr_port *port, u8 proto_version) in hsr_fill_tag()
310 struct hsr_port *port) in hsr_create_tagged_frame()
353 struct hsr_port *port) in prp_create_tagged_frame()
398 static int hsr_xmit(struct sk_buff *skb, struct hsr_port *port, in hsr_xmit()
421 bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port) in prp_drop_frame()
[all …]
Dhsr_slave.c27 struct hsr_port *port; in hsr_handle_frame()
136 struct hsr_port *port, in hsr_portdev_setup()
141 struct hsr_port *master; in hsr_portdev_setup()
179 struct hsr_port *port, *master; in hsr_add_port()
220 void hsr_del_port(struct hsr_port *port) in hsr_del_port()
223 struct hsr_port *master; in hsr_del_port()
Dhsr_slave.h19 void hsr_del_port(struct hsr_port *port);
22 static inline struct hsr_port *hsr_port_get_rtnl(const struct net_device *dev) in hsr_port_get_rtnl()
29 static inline struct hsr_port *hsr_port_get_rcu(const struct net_device *dev) in hsr_port_get_rcu()
Dhsr_main.h161 struct hsr_port { struct
173 void (*send_sv_frame)(struct hsr_port *port, unsigned long *interval, argument
177 bool (*drop_frame)(struct hsr_frame_info *frame, struct hsr_port *port);
179 struct hsr_port *port);
181 struct hsr_port *port);
232 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt);
Dhsr_main.c23 struct hsr_port *port; in hsr_slave_empty()
34 struct hsr_port *port, *master; 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()
126 struct hsr_port *port; in hsr_port_get_hsr()
Dhsr_netlink.h18 struct hsr_port;
24 struct hsr_port *port);
Dhsr_framereg.c213 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db, in hsr_get_node()
286 struct hsr_port *port_rcv = frame->port_rcv; in hsr_handle_sup_frame()
432 struct hsr_port *port) in hsr_addr_subst_dest()
462 void hsr_register_frame_in(struct hsr_node *node, struct hsr_port *port, in hsr_register_frame_in()
485 int hsr_register_frame_out(struct hsr_port *port, struct hsr_node *node, in hsr_register_frame_out()
502 static struct hsr_port *get_late_port(struct hsr_priv *hsr, in get_late_port()
530 struct hsr_port *port; in hsr_prune_nodes()
660 struct hsr_port *port; in hsr_get_node_data()
Dhsr_netlink.c150 struct hsr_port *port; in hsr_fill_info()
212 struct hsr_port *port) in hsr_nl_ringerror()
216 struct hsr_port *master; in hsr_nl_ringerror()
258 struct hsr_port *master; in hsr_nl_nodedown()
306 struct hsr_port *port; in hsr_get_node_status()