Searched refs:gateway (Results 1 - 25 of 45) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/www/
H A DRU_isp_list.js1914 var gateway=[
2876 if(gateway[j]!="#")
2877 parent.static_gateway=gateway[j];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/zebra/
H A Drtread_proc.c71 struct in_addr gateway; local
94 sscanf (gate, "%lX", (unsigned long *)&gateway);
96 rib_add_ipv4 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, 0, 0, 0, 0);
127 struct in6_addr gateway; local
152 str2in6_addr (gate, &gateway);
155 rib_add_ipv6 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, 0, 0);
H A Drtread_getmsg.c71 struct in_addr tmpaddr, gateway; local
88 gateway.s_addr = routeEntry->ipRouteNextHop;
91 &gateway, 0, 0, 0, 0);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Droute.c171 buf_printf (&out, "ROUTE network %s netmask %s gateway %s",
174 print_in_addr_t (r->gateway, 0, gc)
232 *out = rl->rgi.gateway.addr;
235 msg (M_INFO, PACKAGE_NAME " ROUTE: net_gateway undefined -- unable to get default gateway from system");
326 /* gateway */
328 if (is_route_parm_defined (ro->gateway))
330 if (!get_special_addr (rl, ro->gateway, &r->gateway, &status))
332 r->gateway = getaddr (
336 ro->gateway,
448 add_route_to_option_list(struct route_option_list *l, const char *network, const char *netmask, const char *gateway, const char *metric) argument
467 add_route_ipv6_to_option_list(struct route_ipv6_option_list *l, const char *prefix, const char *gateway, const char *metric) argument
512 add_block_local_item(struct route_list *rl, const struct route_gateway_address *gateway, in_addr_t target) argument
754 add_route3(in_addr_t network, in_addr_t netmask, in_addr_t gateway, const struct tuntap *tt, unsigned int flags, const struct route_gateway_info *rgi, const struct env_set *es) argument
772 del_route3(in_addr_t network, in_addr_t netmask, in_addr_t gateway, const struct tuntap *tt, unsigned int flags, const struct route_gateway_info *rgi, const struct env_set *es) argument
790 add_bypass_routes(struct route_bypass *rb, in_addr_t gateway, const struct tuntap *tt, unsigned int flags, const struct route_gateway_info *rgi, const struct env_set *es) argument
812 del_bypass_routes(struct route_bypass *rb, in_addr_t gateway, const struct tuntap *tt, unsigned int flags, const struct route_gateway_info *rgi, const struct env_set *es) argument
1252 local_route(in_addr_t network, in_addr_t netmask, in_addr_t gateway, const struct route_gateway_info *rgi) argument
1300 const char *gateway; local
1551 const char *gateway; local
1740 const char *gateway; local
1895 const char *gateway; local
2082 test_route(const IP_ADAPTER_INFO *adapters, const in_addr_t gateway, DWORD *index) argument
2094 test_route_helper(bool *ret, int *count, int *good, int *ambig, const IP_ADAPTER_INFO *adapters, const in_addr_t gateway) argument
[all...]
H A Droute.h79 const char *gateway; member in struct:route_option
83 /* redirect-gateway flags */
102 const char *gateway; /* e.g. "2001:db8:0::2" */ member in struct:route_ipv6_option
121 in_addr_t gateway; member in struct:route
129 struct in6_addr gateway; member in struct:route_ipv6
155 # define RGI_ADDR_DEFINED (1<<0) /* set if gateway.addr defined */
156 # define RGI_NETMASK_DEFINED (1<<1) /* set if gateway.netmask defined */
163 /* gateway interface */
170 /* gateway interface hardware address */
173 /* gateway/route
174 struct route_gateway_address gateway; member in struct:route_gateway_info
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dicmp.h77 __be32 gateway; member in union:icmphdr::__anon17477
H A Datalk.h50 struct atalk_addr gateway; member in struct:atalk_route
H A Dwanrouter.h430 unsigned char gateway; /* Is this interface a gateway */ member in struct:wanif_conf
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/selinux/include/
H A Dnetlabel.h43 void selinux_netlbl_err(struct sk_buff *skb, int error, int gateway);
76 int gateway)
74 selinux_netlbl_err(struct sk_buff *skb, int error, int gateway) argument
/netgear-R7000-V1.0.7.12_1.2.5/src/router/rc/
H A Dinterface.c156 route_manip(int cmd, char *name, int metric, char *dst, char *gateway, char *genmask) argument
169 if (gateway)
170 inet_aton(gateway, &sin_addr(&rt.rt_gateway));
199 route_add(char *name, int metric, char *dst, char *gateway, char *genmask) argument
201 return route_manip(SIOCADDRT, name, metric, dst, gateway, genmask);
205 route_del(char *name, int metric, char *dst, char *gateway, char *genmask) argument
207 return route_manip(SIOCDELRT, name, metric, dst, gateway, genmask);
H A Drc.h120 extern int route_add(char *name, int metric, char *dst, char *gateway, char *genmask);
121 extern int route_del(char *name, int metric, char *dst, char *gateway, char *genmask);
H A Dnetwork.c66 char *ipaddr, *netmask, *gateway, *metric; local
76 gateway = netmask;
77 netmask = strsep(&gateway, ":");
78 if (!netmask || !gateway)
80 metric = gateway;
81 gateway = strsep(&metric, ":");
82 if (!gateway || !metric)
87 route_add(ifname, atoi(metric) + 1, ipaddr, gateway, netmask);
97 char *ipaddr, *netmask, *gateway, *metric; local
107 gateway
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/third-party/libnatpmp/
H A Dnatpmp.c81 p->gateway = forcedgw;
83 if(getdefaultgateway(&(p->gateway)) < 0)
90 addr.sin_addr.s_addr = p->gateway;
114 addr.sin_addr.s_addr = p->gateway;
208 /* check that addr is correct (= gateway) */
209 else if(addr.sin_addr.s_addr != p->gateway)
305 s = "cannot get default gateway ip address";
321 s = "the gateway does not support nat-pmp";
327 s = "packet not received from the default gateway";
H A Dnatpmp.h56 in_addr_t gateway; /* default gateway (IPv4) */ member in struct:__anon7444
95 /* NATPMP_ERR_CANNOTGETGATEWAY : can't get default gateway IP */
104 /* NATPMP_ERR_NOGATEWAYSUPPORT : the gateway does not support NAT-PMP */
108 /* NATPMP_ERR_WRONGPACKETSOURCE : packet not received from the network gateway */
136 * With forcegw=1 the gateway is not detected automaticaly.
155 * send a public address NAT-PMP request to the network gateway
163 * send a new port mapping NAT-PMP request to the network gateway
H A Dgetgateway.c38 /* There is no portable method to get the default route gateway.
44 * In MS Windows, default gateway is found by looking into the registry
190 /* net.route.0.inet.flags.gateway */
545 *addr = ((struct sockaddr_in *)route.gateway)->sin_addr.s_addr;
556 if (route.gateway != NULL) {
557 intfSize += route.gateway->sa_len;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/appletalk/
H A Datalk_proc.c134 ntohs(rt->gateway.s_net), rt->gateway.s_node,
141 ntohs(rt->gateway.s_net), rt->gateway.s_node,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dcipso_ipv4.h213 void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway);
233 u32 gateway)
231 cipso_v4_error(struct sk_buff *skb, int error, u32 gateway) argument
H A Dnetlabel.h428 void netlbl_skbuff_err(struct sk_buff *skb, int error, int gateway);
570 int gateway)
568 netlbl_skbuff_err(struct sk_buff *skb, int error, int gateway) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/decnet/
H A Ddn_route.c892 __le16 gateway = 0; local
1040 gateway = ((struct dn_neigh *)neigh)->addr;
1041 if (gateway == 0)
1042 gateway = fl.fld_dst;
1044 fl.fld_src = dnet_select_source(dev_out, gateway,
1089 gateway = DN_FIB_RES_GW(res);
1110 rt->rt_gateway = gateway ? gateway : fl.fld_dst;
1222 __le16 gateway = 0; local
1282 gateway
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/selinux/
H A Dnetlabel.c119 * @gateway: true if host is acting as a gateway, false otherwise
128 void selinux_netlbl_err(struct sk_buff *skb, int error, int gateway) argument
130 netlbl_skbuff_err(skb, error, gateway);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/firmware/
H A Discsi_ibft.c129 char gateway[16]; member in struct:ibft_nic
314 str += sprintf_ipaddr(str, nic->gateway);
459 if (memcmp(nic->gateway, nulls, sizeof(nic->gateway)))
/netgear-R7000-V1.0.7.12_1.2.5/src/router/shared/
H A Dnvparse.c1669 char *ipaddr, *netmask, *gateway, *metric, *ifname; local
1682 gateway = netmask;
1683 netmask = strsep(&gateway, ":");
1684 if (!netmask || !gateway)
1686 metric = gateway;
1687 gateway = strsep(&metric, ":");
1688 if (!gateway || !metric)
1699 gateway, metric);
1705 wan_cur == wan_route ? "" : " ", ipaddr, netmask, gateway, metric);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/netfilter/
H A Dipt_LOG.c262 ntohl(ich->un.gateway) >> 24);
266 printk("GATEWAY=%pI4 ", &ich->un.gateway);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/
H A Dping.c778 pr_icmph(icp->type, icp->code, ntohl(icp->un.gateway), icp);
799 pr_icmph(icp->type, icp->code, ntohl(icp->un.gateway), icp);
910 printf("(New nexthop: %s)\n", pr_addr(icp->un.gateway));
933 printf("Parameter problem: pointer = %u\n", icp ? (ntohl(icp->un.gateway)>>24) : info);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/doc/
H A Dip-tunnels.tex55 A: Yes, in 2.2 the rule that {\em normal} gateway must reside on directly
63 not to check for consistency of gateway address.
133 kinds and gateway is required to be directly reachable via this tunnel,
213 The only way to make it is to create special routes with gateway
219 kernel will refuse request to create route via gateway not directly

Completed in 1926 milliseconds

12