mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-02 23:04:56 +01: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