summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/net/rtl/features/lan_restrict.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/files/net/rtl/features/lan_restrict.h')
-rw-r--r--target/linux/realtek/files/net/rtl/features/lan_restrict.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/realtek/files/net/rtl/features/lan_restrict.h b/target/linux/realtek/files/net/rtl/features/lan_restrict.h
new file mode 100644
index 000000000..0ad313b47
--- /dev/null
+++ b/target/linux/realtek/files/net/rtl/features/lan_restrict.h
@@ -0,0 +1,10 @@
+//#include <common/rtl865x_common.h>
+#include <net/rtl/rtl_types.h>
+#include <net/rtl/rtl_queue.h>
+#include <net/rtl/rtl_nic.h>
+#include <net/rtl/rtl865x_fdb_api.h>
+
+int32 lan_restrict_getBlockAddr(int32 port , const unsigned char *swap_addr);
+extern int __init lan_restrict_init(void);
+extern int lan_restrict_rcv(struct sk_buff *skb, struct net_device *dev);
+extern int32 lan_restrict_CheckStatusByport(int32 port);