mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
Origin commit data
------------------
Commit: cbc9299df8
Author: martii <m4rtii@gmx.de>
Date: 2013-06-11 (Tue, 11 Jun 2013)
19 lines
650 B
C++
19 lines
650 B
C++
#ifndef __libnet__
|
|
#define __libnet__
|
|
|
|
#include <string>
|
|
|
|
int netSetIP(std::string &dev, std::string &ip, std::string &mask, std::string &brdcast );
|
|
void netGetIP(std::string &dev, std::string &ip, std::string &mask, std::string &brdcast );
|
|
void netSetDefaultRoute( std::string &gw );
|
|
void netGetDefaultRoute( std::string &ip );
|
|
void netGetDomainname( std::string &dom );
|
|
void netSetDomainname( std::string &dom );
|
|
void netGetHostname( std::string &host );
|
|
void netSetHostname( std::string &host );
|
|
void netSetNameserver(std::string &ip);
|
|
void netGetNameserver( std::string &ip );
|
|
void netGetMacAddr(std::string & ifname, unsigned char *);
|
|
|
|
#endif
|