Home
last modified time | relevance | path

Searched refs:make_route (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/
Droute.py51 def make_route(self, host=None, net=None, gw=None, dev=None, metric=1): member in Route
77 self.routes.append(self.make_route(*args,**kargs))
83 route = self.make_route(*args,**kargs)
Droute6.py65 def make_route(self, dst, gw=None, dev=None): member in Route6
92 self.routes.append(self.make_route(*args, **kargs))
/external/scapy/test/
Dregression.uts3351 = Route6 - Route6.make_route
3354 r6.make_route("2001:db8::1", dev=LOOPBACK_NAME) == ("2001:db8::1", 128, "::", LOOPBACK_NAME, [], 1)
8415 = make_route()
8418 tmp_route = r4.make_route(host="10.12.13.14")
8421 tmp_route = r4.make_route(net="10.12.13.0/24")