Lines Matching refs:netid
66 for netid in cls.tuns:
67 iface = cls.GetInterfaceName(netid)
80 for netid in self.tuns:
83 addr = self._RouterAddress(netid, 6)
84 ifindex = self.ifindices[netid]
88 self.SendRA(netid,
96 self.netid = random.choice(list(self.tuns.keys()))
97 self.ifindex = self.ifindices[self.netid]
104 router = self._RouterAddress(self.netid, 4)
105 macaddr = self.RouterMacAddress(self.netid)
119 iface = self.GetInterfaceName(self.netid)
128 router = self._RouterAddress(self.netid, version)
129 macaddr = self.RouterMacAddress(self.netid)
163 llsrc = self.MyMacAddress(self.netid)
166 src = self.MyLinkLocalAddress(self.netid)
172 src = self.MyAddress(6, self.netid)
179 self.ExpectPacketOn(self.netid, msg, expected)
182 src = self._MyIPv4Address(self.netid)
188 self.ExpectPacketOn(self.netid, msg, expected)
202 dstaddr = self.MyLinkLocalAddress(self.netid)
205 scapy.Ether(src=mac, dst=self.MyMacAddress(self.netid)) /
210 self.ReceiveEtherPacketOn(self.netid, packet)
217 s = self.BuildSocket(version, net_test.UDPSocket, self.netid, routing_mode)
251 router4 = self._RouterAddress(self.netid, 4)
252 router6 = self._RouterAddress(self.netid, 6)
268 self.ReceiveUnicastAdvertisement(router6, self.RouterMacAddress(self.netid))
305 router4 = self._RouterAddress(self.netid, 4)
306 router6 = self._RouterAddress(self.netid, 6)
307 routermac = self.RouterMacAddress(self.netid)
326 router6 = self._RouterAddress(self.netid, 6)
330 ifindex = self.ifindices[self.netid]
342 self.ReceiveUnicastAdvertisement(router6, self.RouterMacAddress(self.netid),
343 srcaddr=self._RouterAddress(self.netid, 6),
344 dstaddr=self.MyAddress(6, self.netid),
358 router = self._RouterAddress(self.netid, version)
361 iface = self.GetInterfaceName(self.netid)