Home
last modified time | relevance | path

Searched refs:gw (Results 1 – 25 of 198) sorted by relevance

12345678

/external/scapy/scapy/
Droute6.py54 for net, msk, gw, iface, cset, metric in self.routes:
55 …rtlst.append(('%s/%i'% (net,msk), gw, (iface if isinstance(iface, six.string_types) else iface.nam…
65 def make_route(self, dst, gw=None, dev=None): argument
71 if gw is None:
72 gw = "::"
74 dev, ifaddr, x = self.route(gw)
82 return (prefix, plen, gw, dev, ifaddr, 1)
95 def delt(self, dst, gw=None): argument
106 if gw:
107 gw = in6_ptop(gw)
[all …]
Droute.py40 for net, msk, gw, iface, addr, metric in self.routes:
43 gw,
51 def make_route(self, host=None, net=None, gw=None, dev=None, metric=1): argument
60 if gw is None:
61 gw="0.0.0.0"
63 if gw:
64 nhop = gw
70 return (atol(thenet), itom(msk), gw, dev, ifaddr, metric)
99 net, msk, gw, iface, addr, metric = route
105 if gw == '0.0.0.0':
[all …]
/external/iptables/extensions/
Dlibxt_TEE.c35 .flags = XTOPT_MAND | XTOPT_PUT, XTOPT_POINTER(s, gw)},
57 printf(" TEE gw:%s", xtables_ipaddr_to_numeric(&info->gw.in)); in tee_tg_print()
59 printf(" TEE gw:%s", xtables_ipaddr_to_anyname(&info->gw.in)); in tee_tg_print()
70 printf(" TEE gw:%s", xtables_ip6addr_to_numeric(&info->gw.in6)); in tee_tg6_print()
72 printf(" TEE gw:%s", xtables_ip6addr_to_anyname(&info->gw.in6)); in tee_tg6_print()
81 printf(" --gateway %s", xtables_ipaddr_to_numeric(&info->gw.in)); in tee_tg_save()
90 printf(" --gateway %s", xtables_ip6addr_to_numeric(&info->gw.in6)); in tee_tg6_save()
102 xtables_ipaddr_to_numeric(&info->gw.in)); in tee_tg_xlate()
105 xtables_ipaddr_to_anyname(&info->gw.in)); in tee_tg_xlate()
119 xtables_ip6addr_to_numeric(&info->gw.in6)); in tee_tg6_xlate()
[all …]
/external/syslinux/core/lwip/src/api/
Dnetifapi.c50 msg->msg.add.gw, in do_netifapi_netif_add()
70 msg->msg.add.gw); in do_netifapi_netif_set_addr()
101 ip_addr_t *gw, in netifapi_netif_add() argument
111 msg.msg.msg.add.gw = gw; in netifapi_netif_add()
129 ip_addr_t *gw) in netifapi_netif_set_addr() argument
136 msg.msg.msg.add.gw = gw; in netifapi_netif_set_addr()
/external/scapy/scapy/arch/
Dunix.py74 dest,mask,gw,netif,mxfrg,rtt,ref,flg = lspl[:8]
76 dest,mask,gw,mxfrg,rtt,ref,flg = lspl[:7]
80 dest,gw,flg = rt[:3]
100 gw = '0.0.0.0'
104 routes.append((dest,netmask, gw, netif, ifaddr, metric))
113 routes.append((dest, netmask, gw, guessed_netif, ifaddr, metric))
119 pending_if.append((dest,netmask,gw))
125 for dest,netmask,gw in pending_if:
126 gw_l = scapy.utils.atol(gw)
137 routes.append((dest,netmask, gw, gw_if, gw_if_addr, metric))
[all …]
/external/syslinux/core/lwip/src/core/
Dnetif.c138 ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input) in netif_add() argument
147 ip_addr_set_zero(&netif->gw); in netif_add()
182 netif_set_addr(netif, ipaddr, netmask, gw); in netif_add()
207 ip_addr_debug_print(NETIF_DEBUG, gw); in netif_add()
223 ip_addr_t *gw) in netif_set_addr() argument
227 netif_set_gw(netif, gw); in netif_set_addr()
384 netif_set_gw(struct netif *netif, ip_addr_t *gw) in netif_set_gw() argument
386 ip_addr_set(&(netif->gw), gw); in netif_set_gw()
389 ip4_addr1_16(&netif->gw), in netif_set_gw()
390 ip4_addr2_16(&netif->gw), in netif_set_gw()
[all …]
/external/ltp/runtest/
Dnet_stress.route6 route4-change-gw route4-change-gw
13 route6-change-gw route6-change-gw
/external/scapy/scapy/layers/
Ddhcp.py316 def parse_options(self, pool=Net("192.168.1.128/25"), network="192.168.1.0/24",gw="192.168.1.1", argument
324 self.gw = gw
328 pool = [k for k in pool if k not in [gw, self.network, self.broadcast]]
360 repb.siaddr = self.gw
361 repb.ciaddr = self.gw
362 repb.giaddr = self.gw
376 dhcp_options += [("server_id",self.gw),
378 ("router", self.gw),
379 ("name_server", self.gw),
/external/ltp/testcases/network/stress/route/
Droute4-change-gw56 TCID=route4-change-gw
106 TCID=route4-change-gw
219 …route add -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifna…
244 …route add -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifna…
245 …route del -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${pre_rhost_part} dev $lhost_…
Droute6-change-gw55 TCID=route6-change-gw
102 TCID=route6-change-gw
218 route -A inet6 add ${dst_network}/64 gw ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
244 route -A inet6 add ${dst_network}/64 gw ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
245 route -A inet6 del ${dst_network}/64 gw ${IPV6_NETWORK}:${pre_rhost_part_hex} dev $lhost_ifname
Droute4-change-if245 route add -net $dst_network netmask 255.255.255.0 gw $gateway dev $lhost_ifname
276 route add -net $dst_network netmask 255.255.255.0 gw $gateway dev $lhost_ifname
277 route del -net $dst_network netmask 255.255.255.0 gw $pre_gateway dev $pre_lhost_ifname
Droute6-change-if243 route -A inet6 add ${dst_network}/64 gw $gateway dev $lhost_ifname
274 route -A inet6 add ${dst_network}/64 gw $gateway dev $lhost_ifname
275 route -A inet6 del ${dst_network}/64 gw $pre_gateway dev $pre_lhost_ifname
Droute4-change-dst221 route add -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
242 route del -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
Droute6-change-dst217 route -A inet6 add ${dst_network}/64 gw $rhost_ipv6addr dev $lhost_ifname
238 route -A inet6 del ${dst_network}/64 gw $rhost_ipv6addr dev $lhost_ifname
/external/icu/icu4c/source/data/locales/
Dkkj.txt7 "\u0327} f g {gb} {gw} h i í ì î {i\u0327} j k {kp} {kw} l m {mb} n {nd} nj {n"
8 "y} ŋ {ŋg} {ŋgb} {ŋgw} o ó ò ô ɔ {ɔ\u0301} {ɔ\u0300} {ɔ\u0302} {ɔ\u0327} p r "
13 "Nd} Nj {Ny} Ŋ {Ŋg} {Ŋgb} {Ŋgw} O Ɔ {Ɔ\u0327} P R S T U {U\u0327} V W Y]"
182 "Nyaŋgwɛ ŋgbanja",
183 "kuŋgwɛ",
198 "Nyaŋgwɛ ŋgbanja",
199 "kuŋgwɛ",
Dbas.txt130gwà nɔ̂y",
131gwà njaŋgumba",
132gwà ûm",
133gwà ŋgê",
134gwà mbɔk",
135gwà kɔɔ",
136gwà jôn",
/external/iproute2/examples/
Ddhcp-client-script177 LOG route add default gw $router
178 route add default gw $router
193 LOG route del default gw $router
194 route del default gw $router
223 route add default gw $router
246 route $op -net $1 netmask `ABCMask "$1"` gw $2
/external/autotest/client/cros/scripts/
Dreorder-services-moblab.sh24 local gw="${4}"
27 ${ip} route del "${host}" via "${gw}"
30 ${ip} route add "${host}" via "${gw}"
/external/syslinux/core/lwip/src/include/lwip/
Dnetifapi.h57 ip_addr_t *gw; member
79 ip_addr_t *gw,
87 ip_addr_t *gw );
Dnetif.h143 ip_addr_t gw; member
256 ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input);
260 ip_addr_t *gw);
273 void netif_set_gw(struct netif *netif, ip_addr_t *gw);
/external/libnfnetlink/src/
Diftable.h4 int iftable_delete(u_int32_t dst, u_int32_t mask, u_int32_t gw, u_int32_t oif);
5 int iftable_insert(u_int32_t dst, u_int32_t mask, u_int32_t gw, u_int32_t oif);
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
Dphase1-up.sh45 route add ${REMOTE_ADDR} gw ${DEFAULT_GW} dev ${if}
46 route add default gw ${DEFAULT_GW} dev ${if}:1
/external/syslinux/core/legacynet/
Dcore.c139 udp_write.gw = gateway(udp_write.ip); in core_udp_send()
175 udp_write.gw = gateway(udp_write.ip); in core_udp_sendto()
/external/syslinux/core/lwip/src/netif/
Dundiif.c1113 if (netif->gw.addr != 0) { in undiarp_output()
1115 ipaddr = &(netif->gw); in undiarp_output()
1578 int undiif_start(uint32_t ip, uint32_t netmask, uint32_t gw) in undiif_start() argument
1593 ((uint8_t *)&gw)[0], in undiif_start()
1594 ((uint8_t *)&gw)[1], in undiif_start()
1595 ((uint8_t *)&gw)[2], in undiif_start()
1596 ((uint8_t *)&gw)[3]); in undiif_start()
1598 (struct ip_addr *)&ip, (struct ip_addr *)&netmask, (struct ip_addr *)&gw, in undiif_start()
/external/iptables/include/linux/netfilter/
Dxt_TEE.h5 union nf_inet_addr gw; member

12345678