Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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);
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.c108 struct hsr_port *port) in hsr_get_untagged_frame()
126 struct hsr_port *port) in prp_get_untagged_frame()
149 struct hsr_port *port) in prp_set_lan_id()
166 struct hsr_port *port) in prp_fill_rct()
194 struct hsr_port *port) in hsr_set_path_id()
208 struct hsr_port *port, u8 proto_version) in hsr_fill_tag()
237 struct hsr_port *port) in hsr_create_tagged_frame()
278 struct hsr_port *port) in prp_create_tagged_frame()
322 static int hsr_xmit(struct sk_buff *skb, struct hsr_port *port, in hsr_xmit()
336 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()
124 struct hsr_port *port, in hsr_portdev_setup()
129 struct hsr_port *master; in hsr_portdev_setup()
160 struct hsr_port *port, *master; in hsr_add_port()
201 void hsr_del_port(struct hsr_port *port) in hsr_del_port()
204 struct hsr_port *master; in hsr_del_port()
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()
235 static struct sk_buff *hsr_init_skb(struct hsr_port *master, u16 proto) in hsr_init_skb()
276 static void send_hsr_supervision_frame(struct hsr_port *master, in send_hsr_supervision_frame()
[all …]
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.h168 struct hsr_port { struct
187 void (*send_sv_frame)(struct hsr_port *port, unsigned long *interval); argument
190 bool (*drop_frame)(struct hsr_frame_info *frame, struct hsr_port *port);
192 struct hsr_port *port);
194 struct hsr_port *port);
230 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.c205 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db, in hsr_get_node()
265 struct hsr_port *port_rcv = frame->port_rcv; in hsr_handle_sup_frame()
365 struct hsr_port *port) in hsr_addr_subst_dest()
391 void hsr_register_frame_in(struct hsr_node *node, struct hsr_port *port, in hsr_register_frame_in()
413 int hsr_register_frame_out(struct hsr_port *port, struct hsr_node *node, in hsr_register_frame_out()
426 static struct hsr_port *get_late_port(struct hsr_priv *hsr, in get_late_port()
454 struct hsr_port *port; in hsr_prune_nodes()
546 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()