Searched refs:strcat_r (Results 1 - 11 of 11) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/rc/
H A Dppp.c71 if (!(fp = fopen(strcat_r("/tmp/ppp/link.", wan_ifname, tmp), "a"))) {
80 nvram_set(strcat_r(prefix, "ipaddr", tmp), value);
81 nvram_set(strcat_r(prefix, "netmask", tmp), "255.255.255.255");
85 nvram_set(strcat_r(prefix, "gateway", tmp), value);
91 nvram_set(strcat_r(prefix, "dns", tmp), buf);
116 unlink(strcat_r("/tmp/ppp/link.", wan_ifname, tmp));
H A Dudhcpc.c99 nvram_set(strcat_r(prefix, "ipaddr", tmp), value);
101 nvram_set(strcat_r(prefix, "netmask", tmp), value);
103 nvram_set(strcat_r(prefix, "gateway", tmp), value);
105 nvram_set(strcat_r(prefix, "dns", tmp), value);
107 nvram_set(strcat_r(prefix, "wins", tmp), value);
111 nvram_set(strcat_r(prefix, "domain", tmp), value);
113 nvram_set(strcat_r(prefix, "lease", tmp), value);
118 nvram_safe_get(strcat_r(prefix, "ipaddr", tmp)),
119 nvram_safe_get(strcat_r(prefix, "netmask", tmp)));
H A Drc.c1390 nvram_unset(strcat_r(prefix, "ssid", tmp));
1391 nvram_unset(strcat_r(prefix, "closed", tmp));
1392 nvram_unset(strcat_r(prefix, "wpa_psk", tmp));
1393 nvram_unset(strcat_r(prefix, "auth", tmp));
1394 nvram_unset(strcat_r(prefix, "wep", tmp));
1395 nvram_unset(strcat_r(prefix, "auth_mode", tmp));
1396 nvram_unset(strcat_r(prefix, "crypto", tmp));
1397 nvram_unset(strcat_r(prefix, "akm", tmp));
1398 nvram_unset(strcat_r(prefix, "wds", tmp));
1399 nvram_unset(strcat_r(prefi
[all...]
H A Dnetwork.c69 foreach(word, nvram_safe_get(strcat_r(prefix, var, tmp)), next) {
100 foreach(word, nvram_safe_get(strcat_r(prefix, var, tmp)), next) {
245 return (atoi(nvram_safe_get(strcat_r(name, "_bss_enabled", tmp))));
1532 wan_ifname = nvram_get(strcat_r(prefix, "ifname", tmp));
1535 wan_proto = nvram_get(strcat_r(prefix, "proto", tmp));
1541 nvram_set(strcat_r(prefix, "proto", tmp), "disabled");
1561 if (!nvram_invmatch(strcat_r(prefix, "hwaddr", tmp), "") ||
1562 !ether_atoe(nvram_safe_get(strcat_r(prefix, "hwaddr", tmp)),
1569 nvram_set(strcat_r(prefix, "hwaddr", tmp),
1598 nvram_safe_get(strcat_r(prefi
[all...]
H A Dservices.c748 if (nvram_match(strcat_r(prefix, "proto", var), "pppoe"))
749 wan_ifname = nvram_safe_get(strcat_r(prefix, "pppoe_ifname", var));
751 wan_ifname = nvram_safe_get(strcat_r(prefix, "ifname", var));
H A Dfirewall.c505 if (nvram_match(strcat_r(prefix, "proto", tmp), "pppoe"))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/shared/
H A Dwlif_utils.c273 value = nvram_safe_get(strcat_r(wl_prefix, "ssid", comb));
277 if (nvram_match(strcat_r(wl_prefix, "auth", comb), "1"))
280 value = nvram_safe_get(strcat_r(wl_prefix, "auth_mode", comb));
285 akms = nvram_safe_get(strcat_r(wl_prefix, "akm", comb));
297 value = nvram_safe_get(strcat_r(wl_prefix, "wep", comb));
302 value = nvram_safe_get(strcat_r(wl_prefix, "crypto", comb));
312 value = nvram_safe_get(strcat_r(wl_prefix, "mode", comb));
313 infra = nvram_safe_get(strcat_r(wl_prefix, "infra", comb));
384 value = nvram_safe_get(strcat_r(wl_prefix, "wpa_psk", comb));
391 info->secret = nvram_safe_get(strcat_r(wl_prefi
[all...]
H A Ddefaults.c575 strcat_r(prefix, &t->name[3], tmp);
587 strcat_r(prefix, &t->name[3], tmp);
606 nvram_set(strcat_r(prefix, name, tmp), t->value);
615 nvram_set(strcat_r(prefix, name, tmp), t->value);
H A Dnvparse.c1700 wep = nvram_get(strcat_r(prefix, "wep", tmp));
1707 nvram_set(strcat_r(prefix, "wep", tmp), "enabled");
1711 nvram_set(strcat_r(prefix, "crypto", tmp), wep);
1712 nvram_set(strcat_r(prefix, "wep", tmp), "disabled");
1716 nvram_set(strcat_r(prefix, "wep", tmp), "disabled");
1718 if (nvram_match(strcat_r(prefix, "auth_mode", tmp), "disabled")) {
1719 if (nvram_match(strcat_r(prefix, "auth", tmp), "1"))
1720 nvram_set(strcat_r(prefix, "auth_mode", tmp), "shared");
1722 nvram_set(strcat_r(prefix, "auth_mode", tmp), "open");
1730 if (nvram_match(strcat_r(prefi
[all...]
H A Dbroadcom.c755 if (nvram_match(strcat_r(prefix, "proto", tmp), "") ||
756 nvram_match(strcat_r(prefix, "proto", tmp), "disabled")) {
760 else if (nvram_match(strcat_r(prefix, "proto", tmp), "pppoe")) {
761 wan_ifname = nvram_safe_get(strcat_r(prefix, "pppoe_ifname", tmp));
762 if ((fp = fopen(strcat_r("/tmp/ppp/link.", wan_ifname, tmp), "r"))) {
770 wan_ifname = nvram_safe_get(strcat_r(prefix, "ifname", tmp));
814 if (nvram_match(strcat_r(prefix, "proto", tmp), "dhcp")) {
875 nvram_match(strcat_r(prefix, "ifname", tmp), name) ? "selected" : "",
1200 nvram_match(strcat_r(prefix, "ifname", tmp), name) ? "selected" : "",
1257 if (nvram_match(strcat_r(prefi
[all...]
H A Dshutils.h128 static inline char * strcat_r(const char *s1, const char *s2, char *buf) function

Completed in 162 milliseconds