1
0
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:
Matias F
2011-08-10 13:35:11 -03:00
parent b92a45d710
commit bb859c6ed2
9 changed files with 4312 additions and 41 deletions

16
include/utils.h Normal file
View 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