]> git.ipfire.org Git - people/ms/mstpd.git/blame - driver.h
driver hooks for creating/deleting new MSTI
[people/ms/mstpd.git] / driver.h
CommitLineData
fef685fc
VD
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
15int driver_set_new_state(per_tree_port_t *ptp, int new_state);
27ef19da 16void driver_flush_all_fids(per_tree_port_t *ptp);
c109fcb6 17unsigned int driver_set_ageing_time(bridge_t *br, unsigned int ageingTime);
883bb623
VD
18bool driver_create_msti(bridge_t *br, __u16 mstid);
19bool driver_delete_msti(bridge_t *br, __u16 mstid);
fef685fc
VD
20
21#endif /* _MSTP_DRIVER_H */