switch.h (7ae9fb1b7ecbb5d85d07857943f677fd1a559b18) | switch.h (d06f925f13976ab82167c93467c70a337a0a3cda) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3#ifndef __DSA_SWITCH_H 4#define __DSA_SWITCH_H 5 6#include <net/dsa.h> 7 8struct netlink_ext_ack; --- 97 unchanged lines hidden (view full) --- 106}; 107 108/* DSA_NOTIFIER_MASTER_STATE_CHANGE */ 109struct dsa_notifier_master_state_info { 110 const struct net_device *master; 111 bool operational; 112}; 113 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3#ifndef __DSA_SWITCH_H 4#define __DSA_SWITCH_H 5 6#include <net/dsa.h> 7 8struct netlink_ext_ack; --- 97 unchanged lines hidden (view full) --- 106}; 107 108/* DSA_NOTIFIER_MASTER_STATE_CHANGE */ 109struct dsa_notifier_master_state_info { 110 const struct net_device *master; 111 bool operational; 112}; 113 |
114struct dsa_vlan *dsa_vlan_find(struct list_head *vlan_list, 115 const struct switchdev_obj_port_vlan *vlan); 116 |
|
114int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v); 115int dsa_broadcast(unsigned long e, void *v); 116 117int dsa_switch_register_notifier(struct dsa_switch *ds); 118void dsa_switch_unregister_notifier(struct dsa_switch *ds); 119 120#endif | 117int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v); 118int dsa_broadcast(unsigned long e, void *v); 119 120int dsa_switch_register_notifier(struct dsa_switch *ds); 121void dsa_switch_unregister_notifier(struct dsa_switch *ds); 122 123#endif |