Lines Matching refs:in_ifc
23 def _ns_add_ifc(self, name, ns_ifc, ifc_base_name=None, in_ifc=None,
44 if in_ifc:
45 in_ifname = in_ifc.ifname
46 with in_ifc as v:
57 in_ifc = self.ipdb.interfaces[out_ifc.peer]
58 in_ifname = in_ifc.ifname
59 with in_ifc as v:
70 in_ifc = ns_ipdb.interfaces[in_ifname]
71 with in_ifc as v:
87 return (ns_ipdb, out_ifc, in_ifc)
90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None,
92 (ns_ipdb, out_ifc, in_ifc) = self._ns_add_ifc(name, "eth0", name, in_ifc, out_ifc,
95 return (ns_ipdb, out_ifc, in_ifc)