mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
storm: limit broadcast, multicast and unknown unicast and multicast per port
This commit is contained in:
1 parent
13b75a73c9
commit
26547f3e01
13 files changed
+312
-3
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#ifndef _RTL837X_STORM_H_
|
||||
#define _RTL837X_STORM_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define STORM_TYPES 4
|
||||
|
||||
void storm_set(uint8_t port, __xdata uint8_t type, __xdata uint32_t rate, __xdata uint8_t pps) __banked;
|
||||
void storm_off(uint8_t port, __xdata uint8_t type) __banked;
|
||||
void storm_show(void) __banked;
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user