Searched refs:iface (Results 1 – 6 of 6) sorted by relevance
/kernel/tests/net/test/ |
D | multinetwork_base.py | 212 iface = cls.GetInterfaceName(netid) 217 ifr = struct.pack("16sH", iface, IFF_TAP | IFF_NO_PI) 221 net_test.SetInterfaceHWAddr(iface, cls.MyMacAddress(netid)) 223 cls.SetSysctl("/proc/sys/net/ipv6/conf/%s/accept_dad" % iface, 0) 225 cls.SetSysctl("/proc/sys/net/ipv6/conf/%s/accept_ra" % iface, 2) 226 net_test.SetInterfaceUp(iface) 265 iface = cls.GetInterfaceName(netid) 275 cls.iproute.OifRule(version, is_add, iface, table, cls.PRIORITY_OIF) 321 def _SetInboundMarking(cls, netid, iface, is_add): argument 327 add_del, iface, netid) [all …]
|
D | neighbour_test.py | 67 iface = cls.GetInterfaceName(netid) 71 "/proc/sys/net/%s/neigh/%s/delay_first_probe_time" % (proto, iface), 74 "/proc/sys/net/%s/neigh/%s/retrans_time_ms" % (proto, iface), 111 def SetUnicastSolicit(self, proto, iface, value): argument 113 "/proc/sys/net/%s/neigh/%s/ucast_solicit" % (proto, iface), value) 119 iface = self.GetInterfaceName(self.netid) 121 self.SetUnicastSolicit(proto, iface, self.UCAST_SOLICIT_DEFAULT) 361 iface = self.GetInterfaceName(self.netid) 363 self.SetUnicastSolicit(proto, iface, self.UCAST_SOLICIT_LARGE) 380 self.SetUnicastSolicit(proto, iface, self.UCAST_SOLICIT_DEFAULT)
|
D | anycast_test.py | 81 iface = self.GetInterfaceName(netid) 82 self.ifindices[netid] = net_test.GetInterfaceIndex(iface)
|
D | sock_diag.py | 358 iface = s.getsockopt(SOL_SOCKET, net_test.SO_BINDTODEVICE, 360 iface = GetInterfaceIndex(iface) if iface else 0 362 iface = 0 374 sock_id = InetDiagSockId((sport, dport, src, dst, iface, "\x00" * 8))
|
D | resilient_rs_test.py | 128 iface = self.GetInterfaceName(netid) 130 self.SetSysctl(self._PROC_NET_TUNABLE % (iface, tunable), value)
|
D | net_test.py | 301 gw, iface = route[2], route[0] 303 return gw, iface 310 unused_gw, iface = GetDefaultRoute() 311 return iface
|