/external/bcc/examples/networking/distributed_bridge/ |
D | simulation.py | 24 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/ |
D | simulation.py | 24 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/ |
D | simulation.py | 24 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 …]
|
D | vlan_learning.py | 73 (out_ifc, in_ifc) = self._create_ns("client%d" % i, in_ifc=client_ifc,
|
/external/bcc/examples/networking/ |
D | simulation.py | 24 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/ |
D | simulation.py | 24 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/ |
D | simulation.py | 24 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 …]
|