mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Add reading of RSTP-CNF packets and send own CNF packets
This reads RSTP configuration packages and updates the state information about the believed Root-bridge. New RSTP packages are sent with the updated information.
This commit is contained in:
1 parent
44298f2b71
commit
571bfef810
2 files changed
+167
-16
No files matched your search
+6
-1
@@ -2,6 +2,11 @@
|
||||
#define _RTL837X_STP_H_
|
||||
|
||||
#include <stdint.h>
|
||||
void stp_cnf_send(uint8_t port) __banked;
|
||||
void stp_in(void) __banked;
|
||||
void stp_setup(void) __banked;
|
||||
void stp_timers(void) __banked;
|
||||
void stp_off(void) __banked;
|
||||
|
||||
#define TIME_HELLO 0x200 // 2 sec
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user