Home
last modified time | relevance | path

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

1234

/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/ltp/testcases/network/stress/route/
Droute-change-gw.sh27 local gw="$(tst_ipaddr_un -h 2,254 1 $(($1 + 1)))"
30 tst_res TINFO "testing route over gateway '$gw'"
32 tst_add_ipaddr -s -q -a $gw rhost
33 ROD ip route add $rt dev $iface via $gw
35 ROD ip route del $rt dev $iface via $gw
36 tst_del_ipaddr -s -q -a $gw rhost
Droute-change-if.sh66 local gw="$(tst_ipaddr_un -n1 $1 1)"
71 tst_res TINFO "testing route over interface '$iface' with gateway '$gw'"
74 tst_add_ipaddr -s -q -a $gw rhost $link_num
75 ROD ip route add $rt dev $iface via $gw
77 ROD ip route del $rt dev $iface via $gw
79 tst_del_ipaddr -s -q -a $gw rhost $link_num
Droute6-redirect150 route -A inet6 add ${DST_NETWORK}::/64 gw fe80:${RHOST_IPV6_HOST} dev $lhost_ifname
Droute4-redirect153 …route add -net ${DST_NETWORK}.0 netmask 255.255.255.0 gw ${IPV4_NETWORK}.${RHOST_IPV4_HOST} dev $l…
/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.route3 route4-change-gw route-change-gw.sh
9 route6-change-gw route-change-gw.sh -6
/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/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/icu/icu4c/source/data/locales/
Dkkj.txt8 "\u0327} f g {gb} {gw} h i í ì î {i\u0327} j k {kp} {kw} l m {mb} n {nd} nj {n"
9 "y} ŋ {ŋg} {ŋgb} {ŋgw} o ó ò ô ɔ {ɔ\u0301} {ɔ\u0300} {ɔ\u0302} {ɔ\u0327} p r "
14 "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/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
Dphase1-down.sh45 route add default gw ${DEFAULT_GW}
/external/linux-kselftest/tools/testing/selftests/net/
Dfib-onlink-tests.sh239 local gw="$3"
247 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink
337 local gw="$3"
345 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 via "${gw}" "${dev}" onlink
Dpmtu.sh490 [ "${gw}" = "" ] && gw="${i}"
494 ip -n ${ns_name} route add ${addr} via ${gw}
496 ns=""; addr=""; gw=""
505 [ "${gw}" = "" ] && gw="${i}" && continue
510 ip -n ${ns_name} -${fam} nexthop add id ${nhid} via ${gw} dev ${dev}
512 ns=""; fam=""; nhid=""; gw=""; dev=""
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_TEE.h8 union nf_inet_addr gw; member
/external/iptables/include/linux/netfilter/
Dxt_TEE.h5 union nf_inet_addr gw; member
/external/icu/icu4c/source/data/coll/
Dig.txt10 "&G<gb<<<Gb<<<GB<gh<<<Gh<<<GH<gw<<<Gw<<<GW"
/external/iptables/iptables/
Diptables-apply61 Version 1.1 - Copyright 2010 GW <gw.2010@tnode.com or http://gw.tnode.com/>.
/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;

1234