Home
last modified time | relevance | path

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

/system/extras/tests/net_test/
Diproute.py499 def _Neighbour(self, version, is_add, addr, lladdr, dev, state, flags=0): argument
504 if is_add and lladdr:
505 lladdr = lladdr.split(":")
506 if len(lladdr) != 6:
507 raise ValueError("Invalid lladdr %s" % ":".join(lladdr))
508 lladdr = "".join(chr(int(hexbyte, 16)) for hexbyte in lladdr)
512 if is_add and lladdr:
513 ndmsg += self._NlAttr(NDA_LLADDR, lladdr)
517 def AddNeighbour(self, version, addr, lladdr, dev): argument
518 self._Neighbour(version, True, addr, lladdr, dev, NUD_PERMANENT)
[all …]
Dping6_test.py208 self.lladdr = net_test.GetLinkAddress(self.ifname, True)
518 s.bind, (self.lladdr, 1026, 0, 0))
523 expected = self.lladdr + "%" + self.ifname
524 s.bind((self.lladdr, 4646, 0, self.ifindex))
680 s.bind((self.lladdr, 0xd00d, 0, self.ifindex))
681 self.CheckSockStatFile("icmp6", self.lladdr, 0xd00d, "::", 0, 7)
686 self.CheckSockStatFile("icmp6", self.lladdr, 0xd00d, "ff02::1", 0xdead, 1)
689 self.CheckSockStatFile("icmp6", self.lladdr, 0xd00d, "ff02::1", 0xdead, 1,
692 self.CheckSockStatFile("icmp6", self.lladdr, 0xd00d, "ff02::1", 0xdead, 1,
Dpackets.py189 scapy.ICMPv6NDOptSrcLLAddr(lladdr=srcmac))
195 scapy.ICMPv6NDOptDstLLAddr(lladdr=srcmac))
Dneighbour_test.py130 scapy.ICMPv6NDOptSrcLLAddr(lladdr=llsrc)
155 scapy.ICMPv6NDOptDstLLAddr(lladdr=mac)
Dmultinetwork_base.py234 lladdr = cls._RouterAddress(netid, 6)
247 scapy.IPv6(src=lladdr, hlim=255) /
251 scapy.ICMPv6NDOptSrcLLAddr(lladdr=macaddr) /
Dsrcaddr_selection_test.py280 scapy.ICMPv6NDOptDstLLAddr(lladdr=conflict_macaddr))