Lines Matching refs:netid
69 def AnycastSetsockopt(self, s, is_add, netid, addr): argument
70 ifindex = self.ifindices[netid]
77 netid = self._TEST_NETID
78 self.assertNotIn(netid, self.tuns)
79 self.tuns[netid] = self.CreateTunInterface(netid)
80 self.SendRA(netid)
81 iface = self.GetInterfaceName(netid)
82 self.ifindices[netid] = net_test.GetInterfaceIndex(iface)
85 addr = self.MyAddress(6, netid)
90 self.AnycastSetsockopt(s, True, netid, addr)
94 thread = CloseFileDescriptorThread(self.tuns[netid])
106 del self.tuns[netid]
109 self.assertIsNone(self.MyAddress(6, netid))
112 self.AnycastSetsockopt(s, False, netid, addr)