mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
gui/nfs: implement mac address lookup
Conflicts: src/gui/moviebrowser.cpp src/gui/nfs.cpp
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#define PING_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
#include "ping-config.h"
|
||||
|
||||
@@ -74,13 +75,13 @@
|
||||
# include <netinet/ip_icmp.h>
|
||||
#endif /* defined(__linux__) */
|
||||
|
||||
int send_ping( const char *host, struct sockaddr_in *taddr );
|
||||
int recv_ping( struct sockaddr_in *taddr );
|
||||
//int send_ping( const char *host, struct sockaddr_in *taddr );
|
||||
//int recv_ping( struct sockaddr_in *taddr );
|
||||
|
||||
int pinghost ( const char *hostname );
|
||||
int pingthost ( const char *hostname, int t );
|
||||
int tpinghost ( const char *hostname );
|
||||
int tpingthost( const char *hostname, int t );
|
||||
int pinghost (const std::string &hostname, std::string *ip = NULL);
|
||||
int pingthost (const std::string &hostname, int t );
|
||||
int tpinghost (const std::string &hostname );
|
||||
int tpingthost(const std::string &hostname, int t );
|
||||
|
||||
|
||||
#endif/*PING_H*/
|
||||
|
Reference in New Issue
Block a user