]> git.ipfire.org Git - people/ms/mstpd.git/blob - driver.h
driver hooks for creating/deleting new MSTI
[people/ms/mstpd.git] / driver.h
1 /*
2 * driver.h Driver-specific code.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *
9 * Authors: Vitalii Demianets <vitas@nppfactor.kiev.ua>
10 */
11
12 #ifndef _MSTP_DRIVER_H
13 #define _MSTP_DRIVER_H
14
15 int driver_set_new_state(per_tree_port_t *ptp, int new_state);
16 void driver_flush_all_fids(per_tree_port_t *ptp);
17 unsigned int driver_set_ageing_time(bridge_t *br, unsigned int ageingTime);
18 bool driver_create_msti(bridge_t *br, __u16 mstid);
19 bool driver_delete_msti(bridge_t *br, __u16 mstid);
20
21 #endif /* _MSTP_DRIVER_H */