Home
last modified time | relevance | path

Searched refs:out_ifc (Results 1 – 7 of 7) sorted by relevance

/external/bcc/examples/networking/distributed_bridge/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
55 out_ifc = self.ipdb.create(ifname="%sa" % ifc_base_name, kind="veth",
57 in_ifc = self.ipdb.interfaces[out_ifc.peer]
67 if out_ifc: out_ifc.up().commit()
78 "net.ipv6.conf.%s.disable_ipv6=1" % out_ifc.ifname]
80 if fn and out_ifc:
81 self.ipdb.nl.tc("add", "ingress", out_ifc["index"], "ffff:")
82 self.ipdb.nl.tc("add-filter", "bpf", out_ifc["index"], ":1",
87 return (ns_ipdb, out_ifc, in_ifc)
90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument
[all …]
/external/bcc/examples/networking/tunnel_monitor/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
55 out_ifc = self.ipdb.create(ifname="%sa" % ifc_base_name, kind="veth",
57 in_ifc = self.ipdb.interfaces[out_ifc.peer]
67 if out_ifc: out_ifc.up().commit()
78 "net.ipv6.conf.%s.disable_ipv6=1" % out_ifc.ifname]
80 if fn and out_ifc:
81 self.ipdb.nl.tc("add", "ingress", out_ifc["index"], "ffff:")
82 self.ipdb.nl.tc("add-filter", "bpf", out_ifc["index"], ":1",
87 return (ns_ipdb, out_ifc, in_ifc)
90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument
[all …]
/external/bcc/examples/networking/vlan_learning/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
55 out_ifc = self.ipdb.create(ifname="%sa" % ifc_base_name, kind="veth",
57 in_ifc = self.ipdb.interfaces[out_ifc.peer]
67 if out_ifc: out_ifc.up().commit()
78 "net.ipv6.conf.%s.disable_ipv6=1" % out_ifc.ifname]
80 if fn and out_ifc:
81 self.ipdb.nl.tc("add", "ingress", out_ifc["index"], "ffff:")
82 self.ipdb.nl.tc("add-filter", "bpf", out_ifc["index"], ":1",
87 return (ns_ipdb, out_ifc, in_ifc)
90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument
[all …]
Dvlan_learning.py73 (out_ifc, in_ifc) = self._create_ns("client%d" % i, in_ifc=client_ifc,
/external/bcc/examples/networking/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
55 out_ifc = self.ipdb.create(ifname="%sa" % ifc_base_name, kind="veth",
57 in_ifc = self.ipdb.interfaces[out_ifc.peer]
67 if out_ifc: out_ifc.up().commit()
78 "net.ipv6.conf.%s.disable_ipv6=1" % out_ifc.ifname]
80 if fn and out_ifc:
81 self.ipdb.nl.tc("add", "ingress", out_ifc["index"], "ffff:")
82 self.ipdb.nl.tc("add-filter", "bpf", out_ifc["index"], ":1",
87 return (ns_ipdb, out_ifc, in_ifc)
90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument
[all …]
/external/bcc/tests/python/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
55 out_ifc = self.ipdb.create(ifname="%sa" % ifc_base_name, kind="veth",
57 in_ifc = self.ipdb.interfaces[out_ifc.peer]
67 if out_ifc: out_ifc.up().commit()
78 "net.ipv6.conf.%s.disable_ipv6=1" % out_ifc.ifname]
80 if fn and out_ifc:
81 self.ipdb.nl.tc("add", "ingress", out_ifc["index"], "ffff:")
82 self.ipdb.nl.tc("add-filter", "bpf", out_ifc["index"], ":1",
87 return (ns_ipdb, out_ifc, in_ifc)
90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument
[all …]
/external/bcc/examples/networking/neighbor_sharing/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
55 out_ifc = self.ipdb.create(ifname="%sa" % ifc_base_name, kind="veth",
57 in_ifc = self.ipdb.interfaces[out_ifc.peer]
67 if out_ifc: out_ifc.up().commit()
78 "net.ipv6.conf.%s.disable_ipv6=1" % out_ifc.ifname]
80 if fn and out_ifc:
81 self.ipdb.nl.tc("add", "ingress", out_ifc["index"], "ffff:")
82 self.ipdb.nl.tc("add-filter", "bpf", out_ifc["index"], ":1",
87 return (ns_ipdb, out_ifc, in_ifc)
90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument
[all …]