mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-16 06:47:14 +02:00
finished
This commit is contained in:
14
slsSupportLib/include/network_utils.h
Normal file
14
slsSupportLib/include/network_utils.h
Normal file
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
namespace sls {
|
||||
|
||||
std::string MacAddrToString(uint64_t mac);
|
||||
uint64_t MacStringToUint(std::string mac);
|
||||
|
||||
uint32_t IpStringToUint(const char* ipstr);
|
||||
std::string IpToString(uint32_t ip);
|
||||
|
||||
uint32_t HostnameToIp(const char *const hostname);
|
||||
|
||||
} // namespace sls
|
Reference in New Issue
Block a user