Searched refs:ipaddr (Results 51 - 75 of 78) sorted by relevance

1234

/asus-wl-520gu-7.0.1.45/src/router/cdma/
H A Dnetwork.c51 char *ipaddr, *netmask, *gateway, *metric; local
57 ipaddr = strsep(&netmask, ":");
58 if (!ipaddr || !netmask)
69 dprintf("\n\n\nadd %s %d %s %s %s\n\n\n", ifname, atoi(metric), ipaddr, gateway, netmask);
71 route_add(ifname, atoi(metric) + 1, ipaddr, gateway, netmask);
81 char *ipaddr, *netmask, *gateway, *metric; local
88 ipaddr = strsep(&netmask, ":");
89 if (!ipaddr || !netmask)
102 route_del(ifname, atoi(metric) + 1, ipaddr, gateway, netmask);
838 nvram_set(strcat_r(prefix, "ipaddr", tm
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Dbroadcom.c1402 i, valid ? inet_ntoa(start.match.src.ipaddr) : "");
1405 i, valid ? inet_ntoa(end.match.src.ipaddr) : "");
1537 i, valid ? inet_ntoa(nat.ipaddr) : "");
1670 * <% lan_route("ipaddr", 0); %> produces "192.168.2.0"
1678 char *ipaddr, *netmask, *gateway, *metric; local
1688 ipaddr = strsep(&netmask, ":");
1689 if (!ipaddr || !netmask)
1699 if (!strcmp(arg, "ipaddr"))
1700 return websWrite(wp, ipaddr);
1717 * <% wan_route("ipaddr",
1725 char *ipaddr, *netmask, *gateway, *metric; local
2189 struct in_addr ipaddr, netaddr, broadaddr, netmask; local
3013 struct in_addr ipaddr, netmask, netaddr, broadaddr; local
3517 char *ipaddr, *netmask, *gateway, *metric; local
3592 char *ipaddr, *netmask, *gateway, *metric; local
3699 char *ipaddr = websGetVar(wp, "wl_radius_ipaddr", ""); local
3756 char *ipaddr = websGetVar(wp, "wl_radius_ipaddr", ""); local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/netconf/
H A Dnetconf_linux.c206 fw->match.src.ipaddr.s_addr = entry->ip.src.s_addr;
208 fw->match.dst.ipaddr.s_addr = entry->ip.dst.s_addr;
338 nat->ipaddr.s_addr = range->min_ip;
460 if (entry->ip.src.s_addr != fw->match.src.ipaddr.s_addr ||
462 entry->ip.dst.s_addr != fw->match.dst.ipaddr.s_addr ||
599 if (range->min_ip != nat->ipaddr.s_addr)
820 if (fw->match.src.ipaddr.s_addr & fw->match.src.netmask.s_addr) {
821 entry->ip.src.s_addr = fw->match.src.ipaddr.s_addr;
826 if (fw->match.dst.ipaddr.s_addr & fw->match.dst.netmask.s_addr) {
827 entry->ip.dst.s_addr = fw->match.dst.ipaddr
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/include/
H A Dlib_string.h69 int lib_parseipaddr(const char *ipaddr,uint8_t *dest);
/asus-wl-520gu-7.0.1.45/src/router/rc/
H A Dbigpond.c138 inet_aton(nvram_safe_get("wan0_ipaddr"), &filter.match.dst.ipaddr);
H A Dfirewall_ex_noipt.c1344 (void) inet_aton(lan_ipaddr, &nat->ipaddr);
1470 start->match.src.ipaddr.s_addr = end->match.src.ipaddr.s_addr = htonl(srcip);
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/
H A Dbigpond.c138 inet_aton(nvram_safe_get("wan0_ipaddr"), &filter.match.dst.ipaddr);
H A Dfirewall_ex_noipt.c1344 (void) inet_aton(lan_ipaddr, &nat->ipaddr);
1470 start->match.src.ipaddr.s_addr = end->match.src.ipaddr.s_addr = htonl(srcip);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/lasat/
H A Dlasat_board.c116 ser_data->ipaddr = old.ipaddr;
H A Dsysctl.c342 {LASAT_IPADDR, "ipaddr", &lasat_board_info.li_eeprom_info.ipaddr, sizeof(int),
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Ddgrs.c1444 static int ipaddr[4] = { -1 }; variable
1453 MODULE_PARM(ipaddr, "1-4i");
1472 * ipaddr=A,B,C,D
1487 if (ipaddr[0] != -1)
1489 dgrs_ipaddr[i] = ipaddr[i];
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/atm/
H A Dmpoa_caches.c383 static eg_cache_entry *eg_cache_get_by_src_ip(uint32_t ipaddr, struct mpoa_client *mpc) argument
390 if(entry->latest_ip_addr == ipaddr) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/galileo-boards/ev64120/compressed/
H A Detherboot.h268 in_addr ipaddr; member in struct:arptable_t
/asus-wl-520gu-7.0.1.45/src/router/httpd/
H A Dbroadcom.c838 // nat_list[i].match.dst.ipaddr.s_addr);
841 if (nat_list[i].match.dst.ipaddr.s_addr==0)
847 sprintf(line, "%-15s", inet_ntoa(nat_list[i].match.dst.ipaddr));
870 sprintf(line, "%s %s\n", line, inet_ntoa(nat_list[i].ipaddr));
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dsys-sunos4.c1103 * the same subnet as ipaddr.
1108 get_ether_addr(ipaddr, hwaddr)
1109 u_int32_t ipaddr;
1128 * address on the same subnet as `ipaddr'.
1154 if ((ipaddr & mask) != (ina & mask))
H A Dsys-linux.c179 static int get_ether_addr (u_int32_t ipaddr, struct sockaddr *hwaddr,
1644 * the same subnet as ipaddr.
1647 static int get_ether_addr (u_int32_t ipaddr, argument
1667 ifc.ifc_len / sizeof(struct ifreq), ip_ntoa(ipaddr)));
1670 * address on the same subnet as `ipaddr'.
1698 if (((ipaddr ^ ina) & mask) != 0)
H A Dipcp.c262 ip_ntoa(ipaddr)
263 u_int32_t ipaddr;
267 slprintf(b, sizeof(b), "%I", ipaddr);
H A Dsys-solaris.c2016 * the same subnet as ipaddr.
2021 get_ether_addr(ipaddr, hwaddr)
2022 u_int32_t ipaddr;
2067 if ((ipaddr & mask) == (ina & mask))
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dsys-sunos4.c1220 * the same subnet as ipaddr.
1225 get_ether_addr(ipaddr, hwaddr)
1226 u_int32_t ipaddr;
1245 * address on the same subnet as `ipaddr'.
1271 if ((ipaddr & mask) != (ina & mask))
H A Dsys-linux.c241 static int get_ether_addr (u_int32_t ipaddr, struct sockaddr *hwaddr,
1736 * the same subnet as ipaddr.
1739 static int get_ether_addr (u_int32_t ipaddr, argument
1762 ifc.ifc_len / sizeof(struct ifreq), ip_ntoa(ipaddr)));
1765 * address on the same subnet as `ipaddr'.
1793 if (((ipaddr ^ ina) & mask) != 0)
H A Dipcp.c297 ip_ntoa(ipaddr)
298 u_int32_t ipaddr;
302 slprintf(b, sizeof(b), "%I", ipaddr);
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
H A Dsys-sunos4.c1220 * the same subnet as ipaddr.
1225 get_ether_addr(ipaddr, hwaddr)
1226 u_int32_t ipaddr;
1245 * address on the same subnet as `ipaddr'.
1271 if ((ipaddr & mask) != (ina & mask))
H A Dsys-linux.c241 static int get_ether_addr (u_int32_t ipaddr, struct sockaddr *hwaddr,
1736 * the same subnet as ipaddr.
1739 static int get_ether_addr (u_int32_t ipaddr, argument
1762 ifc.ifc_len / sizeof(struct ifreq), ip_ntoa(ipaddr)));
1765 * address on the same subnet as `ipaddr'.
1793 if (((ipaddr ^ ina) & mask) != 0)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/doc/
H A Dip-cref.tex2941 ipaddr=
2946 ipaddr=${1%/*}
2947 if [ "$1" != "$ipaddr" ]; then
2952 pfx="${ipaddr}/${pfxlen}"
2972 if [ "$ipaddr" != "" -a "$ipaddr" != "127.0.0.1" ]; then
2973 ip address add $ipaddr dev $dev
2994 if [ "$ipaddr" = "" ]; then
3008 if ! arping -q -c 2 -w 3 -D -I $dev $ipaddr ; then
3009 echo "Address $ipaddr i
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/libsmb/
H A Dnamequery.c550 BOOL getlmhostsent( XFILE *fp, pstring name, int *name_type, struct in_addr *ipaddr) argument
606 *ipaddr = *interpret_addr2(ip);

Completed in 320 milliseconds

1234