diff options
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r-- | include/net/dsa.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 47917e5e1e12..fbca63ba8f73 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h | |||
@@ -296,6 +296,12 @@ struct dsa_switch_driver { | |||
296 | u32 br_port_mask); | 296 | u32 br_port_mask); |
297 | int (*port_stp_update)(struct dsa_switch *ds, int port, | 297 | int (*port_stp_update)(struct dsa_switch *ds, int port, |
298 | u8 state); | 298 | u8 state); |
299 | int (*fdb_add)(struct dsa_switch *ds, int port, | ||
300 | const unsigned char *addr, u16 vid); | ||
301 | int (*fdb_del)(struct dsa_switch *ds, int port, | ||
302 | const unsigned char *addr, u16 vid); | ||
303 | int (*fdb_getnext)(struct dsa_switch *ds, int port, | ||
304 | unsigned char *addr, bool *is_static); | ||
299 | }; | 305 | }; |
300 | 306 | ||
301 | void register_switch_driver(struct dsa_switch_driver *type); | 307 | void register_switch_driver(struct dsa_switch_driver *type); |