Searched refs:wan (Results 1 - 25 of 27) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/
H A Dinterface.h78 #define SWCFG_INIT(cfg, lan, wan) [cfg] = { .lanmask = lan, .wanmask = wan }
87 extern void _switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int swmask, char *cputag, int wan);
93 * int wan - 0: return config string for lan ports
94 * 1: return config string for wan ports
98 extern void switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int index, int wan, char *cputag);
H A Dinterface.c87 * int wan - config wan port or not
89 void _switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int swmask, char *cputag, int wan) argument
101 if (wan && !cputag) {
130 * int wan - 0: return config string for lan ports
131 * 1: return config string for wan ports
135 void switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int index, int wan, char *cputag) argument
142 mask = wan ? sw_config[index].wanmask : sw_config[index].lanmask;
143 _switch_gen_config(buf, ports, mask, cputag, wan);
H A Dinit.c325 if (strcmp(buf, "wan none") != 0){
686 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
702 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
714 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
1357 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
1362 else if (unit == WAN_UNIT_FIRST) // let non-wan nvram to be set one time.
1685 * @wan: WAN interface.
1696 * @dw_wan: WAN interface in dual-wan mode.
1701 * @dw_lan: LAN interface of LAN port that is used as a WAN interface in dual-wan mode
1728 static int set_basic_ifname_vars(char *wan, cha argument
[all...]
H A Dwan.c222 * pref 200: from wan's ip, from wan's DNS.
224 * pref 400: to wan's gateway, to wan's DNS.
259 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
290 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
310 // set the rules of wan[X]'s ip and gateway for multi routing tables.
422 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
521 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
536 logmessage("wan", "finis
1227 char buf[32], wan[32]; local
[all...]
H A DMakefile130 OBJS := rc.o init.o interface.o lan.o wireless.o wan.o pppd.o auth.o services.o #mtd.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/
H A Dinterface.h78 #define SWCFG_INIT(cfg, lan, wan) [cfg] = { .lanmask = lan, .wanmask = wan }
87 extern void _switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int swmask, char *cputag, int wan);
93 * int wan - 0: return config string for lan ports
94 * 1: return config string for wan ports
98 extern void switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int index, int wan, char *cputag);
H A Dinterface.c87 * int wan - config wan port or not
89 void _switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int swmask, char *cputag, int wan) argument
101 if (wan && !cputag) {
130 * int wan - 0: return config string for lan ports
131 * 1: return config string for wan ports
135 void switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int index, int wan, char *cputag) argument
142 mask = wan ? sw_config[index].wanmask : sw_config[index].lanmask;
143 _switch_gen_config(buf, ports, mask, cputag, wan);
H A Dinit.c325 if (strcmp(buf, "wan none") != 0){
686 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
702 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
714 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
1357 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
1362 else if (unit == WAN_UNIT_FIRST) // let non-wan nvram to be set one time.
1685 * @wan: WAN interface.
1696 * @dw_wan: WAN interface in dual-wan mode.
1701 * @dw_lan: LAN interface of LAN port that is used as a WAN interface in dual-wan mode
1728 static int set_basic_ifname_vars(char *wan, cha argument
[all...]
H A Dwan.c222 * pref 200: from wan's ip, from wan's DNS.
224 * pref 400: to wan's gateway, to wan's DNS.
259 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
290 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
310 // set the rules of wan[X]'s ip and gateway for multi routing tables.
422 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
521 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
536 logmessage("wan", "finis
1227 char buf[32], wan[32]; local
[all...]
H A DMakefile130 OBJS := rc.o init.o interface.o lan.o wireless.o wan.o pppd.o auth.o services.o #mtd.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/
H A Dinterface.h78 #define SWCFG_INIT(cfg, lan, wan) [cfg] = { .lanmask = lan, .wanmask = wan }
87 extern void _switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int swmask, char *cputag, int wan);
93 * int wan - 0: return config string for lan ports
94 * 1: return config string for wan ports
98 extern void switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int index, int wan, char *cputag);
H A Dinterface.c87 * int wan - config wan port or not
89 void _switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int swmask, char *cputag, int wan) argument
101 if (wan && !cputag) {
130 * int wan - 0: return config string for lan ports
131 * 1: return config string for wan ports
135 void switch_gen_config(char *buf, const int ports[SWPORT_COUNT], int index, int wan, char *cputag) argument
142 mask = wan ? sw_config[index].wanmask : sw_config[index].lanmask;
143 _switch_gen_config(buf, ports, mask, cputag, wan);
H A Dinit.c325 if (strcmp(buf, "wan none") != 0){
686 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
702 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
714 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
1357 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
1362 else if (unit == WAN_UNIT_FIRST) // let non-wan nvram to be set one time.
1685 * @wan: WAN interface.
1696 * @dw_wan: WAN interface in dual-wan mode.
1701 * @dw_lan: LAN interface of LAN port that is used as a WAN interface in dual-wan mode
1728 static int set_basic_ifname_vars(char *wan, cha argument
[all...]
H A Dwan.c222 * pref 200: from wan's ip, from wan's DNS.
224 * pref 400: to wan's gateway, to wan's DNS.
259 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
290 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
310 // set the rules of wan[X]'s ip and gateway for multi routing tables.
422 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
521 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
536 logmessage("wan", "finis
1227 char buf[32], wan[32]; local
[all...]
H A DMakefile130 OBJS := rc.o init.o interface.o lan.o wireless.o wan.o pppd.o auth.o services.o #mtd.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/sysdeps/
H A Dinit-broadcom.c48 char lan[SWCFG_BUFSIZE], wan[SWCFG_BUFSIZE]; local
76 cfg = SWCFG_DEFAULT; // keep wan port, but get ip from bridge
85 wan_phyid = ports[0]; // record the phy num of the wan port on the case
89 switch_gen_config(wan, ports, SWCFG_BRIDGE, 1, "u");
91 nvram_set("vlan1ports", wan);
97 switch_gen_config(wan, ports, cfg, 1, NULL);
99 nvram_set("wanports", wan);
118 wan_phyid = ports[0]; // record the phy num of the wan port on the case
121 switch_gen_config(wan, ports, wancfg, 1, (get_wans_dualwan()&WANSCAP_LAN && wan1cfg >= 1 && wan1cfg <= 4)?"":"u");
122 nvram_set("vlan1ports", wan);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/sysdeps/
H A Dinit-broadcom.c48 char lan[SWCFG_BUFSIZE], wan[SWCFG_BUFSIZE]; local
76 cfg = SWCFG_DEFAULT; // keep wan port, but get ip from bridge
85 wan_phyid = ports[0]; // record the phy num of the wan port on the case
89 switch_gen_config(wan, ports, SWCFG_BRIDGE, 1, "u");
91 nvram_set("vlan1ports", wan);
97 switch_gen_config(wan, ports, cfg, 1, NULL);
99 nvram_set("wanports", wan);
118 wan_phyid = ports[0]; // record the phy num of the wan port on the case
121 switch_gen_config(wan, ports, wancfg, 1, (get_wans_dualwan()&WANSCAP_LAN && wan1cfg >= 1 && wan1cfg <= 4)?"":"u");
122 nvram_set("vlan1ports", wan);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/sysdeps/
H A Dinit-broadcom.c48 char lan[SWCFG_BUFSIZE], wan[SWCFG_BUFSIZE]; local
76 cfg = SWCFG_DEFAULT; // keep wan port, but get ip from bridge
85 wan_phyid = ports[0]; // record the phy num of the wan port on the case
89 switch_gen_config(wan, ports, SWCFG_BRIDGE, 1, "u");
91 nvram_set("vlan1ports", wan);
97 switch_gen_config(wan, ports, cfg, 1, NULL);
99 nvram_set("wanports", wan);
118 wan_phyid = ports[0]; // record the phy num of the wan port on the case
121 switch_gen_config(wan, ports, wancfg, 1, (get_wans_dualwan()&WANSCAP_LAN && wan1cfg >= 1 && wan1cfg <= 4)?"":"u");
122 nvram_set("vlan1ports", wan);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/mach-ks8695/
H A Ddevices.c26 #include <mach/regs-wan.h>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/mach-ks8695/
H A Ddevices.c26 #include <mach/regs-wan.h>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/
H A DMakefile269 obj-$(CONFIG_WAN) += wan/
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/
H A DMakefile269 obj-$(CONFIG_WAN) += wan/
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/platform/x86/
H A Dthinkpad_acpi.c310 u32 wan:1; member in struct:__anon17801
4164 /* sysfs wan enable ---------------------------------------------------- */
4229 "initializing wan subdriver\n");
4233 tp_features.wan = hkey_handle &&
4237 "wan is %s, status 0x%02x\n",
4238 str_supported(tp_features.wan),
4243 tp_features.wan = 1;
4248 if (tp_features.wan &&
4250 /* no wan hardware present in system */
4251 tp_features.wan
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/platform/x86/
H A Dthinkpad_acpi.c310 u32 wan:1; member in struct:__anon29494
4164 /* sysfs wan enable ---------------------------------------------------- */
4229 "initializing wan subdriver\n");
4233 tp_features.wan = hkey_handle &&
4237 "wan is %s, status 0x%02x\n",
4238 str_supported(tp_features.wan),
4243 tp_features.wan = 1;
4248 if (tp_features.wan &&
4250 /* no wan hardware present in system */
4251 tp_features.wan
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/
H A DMakefile3696 cd $(TOP)/net-snmp-5.7.2 && $(CONFIGURE) --prefix=$(INSTALLDIR)/net-snmp-5.7.2/usr --disable-embedded-perl --with-perl-modules=no --disable-debugging --enable-mini-agent --with-transports=UDP --without-kmem-usage --disable-applications --disable-mib-loading --disable-scripts --disable-mibs --disable-manuals --with-openssl=$(TOP)/openssl --with-ldflags="-L$(TOP)/openssl -L$(TOP)/nvram$(BCMEX) -L$(TOP)/shared -L$(TOP)/libnmp" --with-libs="-lnvram -lshared -lnmp $(EXTRA_FLAG)" --with-cflags="$(SNMPD_CFLAGS) -I$(TOP)/libnmp" --with-default-snmp-version="3" --with-sys-location=Unknown --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp --with-sys-contact=root@localhost --enable-static=no --with-mib-modules="asus-mib/wireless,$(MIB_MODULE_PASSPOINT),asus-mib/lan,asus-mib/wan,asus-mib/ipv6,asus-mib/vpn,asus-mib/firewall,asus-mib/administration,asus-mib/systemLog,asus-mib/guestNetwork,asus-mib/trafficManager,asus-mib/parentalControl,asus-mib/quickInternetSetup"

Completed in 279 milliseconds

12