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.
20 lines
395 B
20 lines
395 B
#ifndef LIBIP_NEIGHBOR_H
|
|
#define LIBIP_NEIGHBOR_H
|
|
|
|
#include <QObject>
|
|
#include "libip_global.h"
|
|
|
|
class LIBIP_EXPORT Neighbor : public QObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Neighbor(QString interface = QString());
|
|
QString macOfIP(QString ip) const;
|
|
static QStringList list(QString interface = QString());
|
|
const QString& name() const;
|
|
|
|
private:
|
|
QString m_interface;
|
|
};
|
|
|
|
#endif // LIBIP_NEIGHBOR_H
|
|
|