Home
last modified time | relevance | path

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

12345678910

/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/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/ltp/runtest/
Dnet_stress.route6 route4-change-gw route4-change-gw
12 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),
Dl2.py68 iff,a,gw = conf.route.route(ip)
71 if gw != "0.0.0.0":
72 ip = gw
568 iff,a,gw = conf.route.route(arp.psrc)
/external/ltp/testcases/network/stress/route/
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-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-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-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-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
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
/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/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/linux-kselftest/tools/testing/selftests/net/
Dfib-onlink-tests.sh224 local gw="$3"
232 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink
322 local gw="$3"
330 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 via "${gw}" "${dev}" onlink
Dpmtu.sh269 [ "${gw}" = "" ] && gw="${i}"
273 ip -n ${ns_name} route add ${addr} via ${gw}
275 ns=""; addr=""; gw=""
/external/iptables/include/linux/netfilter/
Dxt_TEE.h5 union nf_inet_addr gw; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_TEE.h8 union nf_inet_addr gw; member
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
Dmarkermanager.js586 var gw = this.gridWidth_[zoom];
590 sw.x -= gw;
592 if (ne.x - sw.x + 1 >= gw) {
595 ne.x = gw - 1;
/external/icu/icu4c/source/data/coll/
Dig.txt10 "&G<gb<<<Gb<<<GB<gh<<<Gh<<<GH<gw<<<Gw<<<GW"

12345678910