Home
last modified time | relevance | path

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

/linux-6.1.9/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_framereg.h21 struct hsr_port *port_rcv;
33 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db,
41 struct hsr_port *port);
43 void hsr_register_frame_in(struct hsr_node *node, struct hsr_port *port,
45 int hsr_register_frame_out(struct hsr_port *port, struct hsr_node *node,
Dhsr_forward.c150 struct hsr_port *port) in hsr_get_untagged_frame()
168 struct hsr_port *port) in prp_get_untagged_frame()
191 struct hsr_port *port) in prp_set_lan_id()
208 struct hsr_port *port) in prp_fill_rct()
237 struct hsr_port *port) in hsr_set_path_id()
251 struct hsr_port *port, u8 proto_version) in hsr_fill_tag()
281 struct hsr_port *port) in hsr_create_tagged_frame()
324 struct hsr_port *port) in prp_create_tagged_frame()
371 static int hsr_xmit(struct sk_buff *skb, struct hsr_port *port, in hsr_xmit()
385 bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port) in prp_drop_frame()
[all …]
Dhsr_device.c43 static void hsr_set_operstate(struct hsr_port *master, bool has_carrier) in hsr_set_operstate()
56 static bool hsr_check_carrier(struct hsr_port *master) in hsr_check_carrier()
58 struct hsr_port *port; in hsr_check_carrier()
95 struct hsr_port *master; in hsr_check_carrier_and_operstate()
112 struct hsr_port *port; in hsr_get_max_mtu()
144 struct hsr_port *port; in hsr_dev_open()
184 struct hsr_port *port; in hsr_features_recompute()
215 struct hsr_port *master; in hsr_dev_xmit()
237 static struct sk_buff *hsr_init_skb(struct hsr_port *master) in hsr_init_skb()
276 static void send_hsr_supervision_frame(struct hsr_port *master, in send_hsr_supervision_frame()
[all …]
Dhsr_slave.c27 struct hsr_port *port; in hsr_handle_frame()
126 struct hsr_port *port, in hsr_portdev_setup()
131 struct hsr_port *master; in hsr_portdev_setup()
162 struct hsr_port *port, *master; in hsr_add_port()
203 void hsr_del_port(struct hsr_port *port) in hsr_del_port()
206 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.h159 struct hsr_port { struct
171 void (*send_sv_frame)(struct hsr_port *port, unsigned long *interval); argument
174 bool (*drop_frame)(struct hsr_frame_info *frame, struct hsr_port *port);
176 struct hsr_port *port);
178 struct hsr_port *port);
217 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.c204 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db, in hsr_get_node()
264 struct hsr_port *port_rcv = frame->port_rcv; in hsr_handle_sup_frame()
410 struct hsr_port *port) in hsr_addr_subst_dest()
436 void hsr_register_frame_in(struct hsr_node *node, struct hsr_port *port, in hsr_register_frame_in()
459 int hsr_register_frame_out(struct hsr_port *port, struct hsr_node *node, in hsr_register_frame_out()
476 static struct hsr_port *get_late_port(struct hsr_priv *hsr, in get_late_port()
504 struct hsr_port *port; in hsr_prune_nodes()
599 struct hsr_port *port; in hsr_get_node_data()
Dhsr_netlink.c125 struct hsr_port *port; in hsr_fill_info()
187 struct hsr_port *port) in hsr_nl_ringerror()
191 struct hsr_port *master; in hsr_nl_ringerror()
233 struct hsr_port *master; in hsr_nl_nodedown()
281 struct hsr_port *port; in hsr_get_node_status()