1 /* Copyright 2005 Renzo Davoli VDE-2
2 * Some minor remain from uml_switch Copyright 2002 Yon Uriarte and Jeff Dike
3 * Licensed under the GPLv2
13 extern unsigned char bpduaddrp
[];
14 #define ISBPDU(P) (memcmp((P)->header.dest,bpduaddrp,ETH_ALEN)==0)
16 int fstnewvlan(int vlan
);
17 int fstremovevlan(int vlan
);
18 void fstsetnumports (int val
);
19 void fst_in_bpdu(int port
, struct packet
*p
, int len
, int vlan
, int tagged
);
20 void fstaddport(int vlan
,int port
,int tagged
);
21 void fstdelport(int vlan
,int port
);
22 int fstflag(int op
, int f
);
23 void fst_init(int initnumports
);