mirror of
https://github.com/mfontanini/libtins
synced 2026-01-29 04:54:28 +01:00
Added IP pdu class. It's compiling so far.
This commit is contained in:
16
include/utils.h
Normal file
16
include/utils.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __UTILS_H
|
||||
#define __UTILS_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Tins {
|
||||
/* Utils namespace. */
|
||||
namespace Utils {
|
||||
uint32_t ip_to_int(const std::string &ip);
|
||||
std::string ip_to_string(uint32_t ip);
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user