def METHOD_NAME(self):
    for i, p in enumerate(self._pkts):
        extaddr, src = None, None
        # each packet should be either wpan or eth
        assert (p.wpan and not p.eth) or (p.eth and not p.wpan)
        if p.wpan:
            # it is a 802.15.4 packet
            extaddr = p.wpan.src64
        if p.ipv6:
            # it is a IPv6 packet
            src = p.ipv6.src
        if extaddr and src:
            if extaddr in self._extaddr_to_node:
                role_sum = self._extaddr_to_node[extaddr]
                role_sum.add_ipaddr(src, i)
            else:
                logging.warn("Extaddr %s is not in the testbed", extaddr)