summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/drivers/net/rtl819x/l3Driver/rtl865x_multipleWan.h
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-02-06 02:59:31 +0200
committerRoman Yeryomin <roman@advem.lv>2013-02-06 02:59:31 +0200
commit691cc9529efe8ea7abaab170c452ae4470bf3ac2 (patch)
tree8d18d131720975fc63c8c2abc7bd933efe503e5f /target/linux/realtek/files/drivers/net/rtl819x/l3Driver/rtl865x_multipleWan.h
parent62da0fe6152d0025e570ca41a6f9ae68df7da89b (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/drivers/net/rtl819x/l3Driver/rtl865x_multipleWan.h')
-rw-r--r--target/linux/realtek/files/drivers/net/rtl819x/l3Driver/rtl865x_multipleWan.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/realtek/files/drivers/net/rtl819x/l3Driver/rtl865x_multipleWan.h b/target/linux/realtek/files/drivers/net/rtl819x/l3Driver/rtl865x_multipleWan.h
new file mode 100644
index 000000000..c523becd5
--- /dev/null
+++ b/target/linux/realtek/files/drivers/net/rtl819x/l3Driver/rtl865x_multipleWan.h
@@ -0,0 +1,23 @@
+/*
+* Copyright c Realtek Semiconductor Corporation, 2010
+* All rights reserved.
+*
+* Program : multiple wan device driver header file
+* Abstract :
+* Author : hyking (hyking_liu@realsil.com.cn)
+*/
+
+#ifndef RTL865X_MULTIPLEWAN_H
+#define RTL865X_MULTIPLEWAN_H
+
+#define RTL_ADVRT_MAX_NUM 4
+
+rtl_advRoute_entry_t* rtl_get_advRt_entry_by_nexthop(ipaddr_t nexthop);
+int rtl_init_advRt(void);
+int rtl_exit_advRt(void);
+int rtl_add_advRt_entry(rtl_advRoute_entry_t *entry);
+int rtl_del_advRt_entry(rtl_advRoute_entry_t *entry);
+int rtl_disable_advRt_by_netifName(const char *name);
+
+#endif
+