gui/nfs: implement mac address lookup

Conflicts:
	src/gui/moviebrowser.cpp
	src/gui/nfs.cpp
This commit is contained in:
martii
2013-06-29 15:22:39 +02:00
committed by [CST] Focus
parent 6f1f961b13
commit 706ea95092
10 changed files with 77 additions and 32 deletions

View File

@@ -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*/