1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Move functions to parse /proc/net/routes into utils.cpp

This commit is contained in:
Matias Fontanini
2017-04-30 10:13:58 -07:00
parent 28fa1b2f7e
commit af325f00d9
3 changed files with 52 additions and 54 deletions

View File

@@ -52,10 +52,6 @@ class ICMPExtensionsStructure;
namespace Internals {
void skip_line(std::istream& input);
bool from_hex(const std::string& str, uint32_t& result);
bool from_hex(const std::string& str, std::string& result);
PDU* pdu_from_flag(Constants::Ethernet::e flag, const uint8_t* buffer,
uint32_t size, bool rawpdu_on_no_match = true);
PDU* pdu_from_flag(Constants::IP::e flag, const uint8_t* buffer,