summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/include/net/rtl/features/lan_restrict.h
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-02-06 02:59:31 +0200
committerRoman Yeryomin <roman@advem.lv>2013-05-26 00:48:31 +0300
commitd76a86507530dd3d3a63a73523b4f48bd656aed9 (patch)
treecfd2f8b5f2feee81a34f73ca7fa5fd7694419f63 /target/linux/realtek/files/include/net/rtl/features/lan_restrict.h
parentb8c7700266d9eee9e49ba91a5be70498d4f22413 (diff)
Rebase files to rsdk 3.2 and refresh patches. Compilable (not by humans).
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/include/net/rtl/features/lan_restrict.h')
-rw-r--r--target/linux/realtek/files/include/net/rtl/features/lan_restrict.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/realtek/files/include/net/rtl/features/lan_restrict.h b/target/linux/realtek/files/include/net/rtl/features/lan_restrict.h
new file mode 100644
index 000000000..0ad313b47
--- /dev/null
+++ b/target/linux/realtek/files/include/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);