Home
last modified time | relevance | path

Searched refs:lladdr (Results 1 – 5 of 5) sorted by relevance

/system/extras/tests/net_test/
Diproute.py643 def _Neighbour(self, version, is_add, addr, lladdr, dev, state): argument
649 lladdr = lladdr.split(":")
650 if len(lladdr) != 6:
651 raise ValueError("Invalid lladdr %s" % ":".join(lladdr))
652 lladdr = "".join(chr(int(hexbyte, 16)) for hexbyte in lladdr)
657 ndmsg += self._NlAttr(NDA_LLADDR, lladdr)
661 def AddNeighbour(self, version, addr, lladdr, dev): argument
662 self._Neighbour(version, True, addr, lladdr, dev, NUD_PERMANENT)
664 def DelNeighbour(self, version, addr, lladdr, dev): argument
665 self._Neighbour(version, False, addr, lladdr, dev, 0)
Dping6_test.py209 self.lladdr = net_test.GetLinkAddress(self.ifname, True)
545 s.bind, (self.lladdr, 1026, 0, 0))
550 expected = self.lladdr + "%" + self.ifname
551 s.bind((self.lladdr, 4646, 0, self.ifindex))
707 s.bind((self.lladdr, 0xd00d, 0, self.ifindex))
708 self.CheckSockStatFile("icmp6", self.lladdr, 0xd00d, "::", 0, 7)
713 self.CheckSockStatFile("icmp6", self.lladdr, 0xd00d, "ff02::1", 0xdead, 1)
716 self.CheckSockStatFile("icmp6", self.lladdr, 0xd00d, "ff02::1", 0xdead, 1,
719 self.CheckSockStatFile("icmp6", self.lladdr, 0xd00d, "ff02::1", 0xdead, 1,
Dmultinetwork_base.py227 lladdr = cls._RouterAddress(netid, 6)
240 scapy.IPv6(src=lladdr, hlim=255) /
243 scapy.ICMPv6NDOptSrcLLAddr(lladdr=macaddr) /
Dsrcaddr_selection_test.py266 scapy.ICMPv6NDOptDstLLAddr(lladdr=conflict_macaddr))
Dmultinetwork_test.py233 scapy.ICMPv6NDOptSrcLLAddr(lladdr=srcmac))
240 scapy.ICMPv6NDOptDstLLAddr(lladdr=srcmac))