You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
452 B

#ifndef LIBIP_NEIGHBOR_H
#define LIBIP_NEIGHBOR_H
#include <QObject>
#include <QHash>
#include "libip_global.h"
class LIBIP_EXPORT Neighbor : public QObject {
Q_OBJECT
public:
Neighbor(QString interface = QString());
QString macOfIP(QString ip, bool *ok = 0) const;
static QHash<QString, QString> list(QString interface = QString(), bool *ok = 0);
const QString& name() const;
private:
QString m_interface;
};
#endif // LIBIP_NEIGHBOR_H