This file contains helper functions related to network traffic. More...
#include "Types.hpp"
#include "L2.hpp"
#include "L3_ARP.hpp"
#include "L3_IP.hpp"
#include "L3_IPv4.hpp"
#include "L3_IPv6.hpp"
#include "L4_TCP.hpp"
#include "L4_UDP.hpp"
#include "L4_ICMP.hpp"
#include "L4_ICMPv6.hpp"
Namespaces | |
Myra | |
Namespace declaration for all of the Myra Canyon helper functions. | |
Functions | |
std::string | Myra::to_string (const MAC &mac) |
Format a MAC address for pretty-printing. More... | |
std::string | Myra::to_string (const IPv4_ADDR &addr) |
Format a IPv4 address for pretty-printing. More... | |
std::string | Myra::to_string (const IPv6_ADDR &addr) |
Format a IPv6 address for pretty-printing. More... | |
IPv4_ADDR | Myra::ipv4_from_string (const std::string &str) |
Convert a number-and-dots text string to a IPv4 address. More... | |
IPv6_ADDR | Myra::ipv6_from_string (const std::string &str) |
Myra::FlowHash | Myra::hash (const Myra::PktInfo &info) |
Generate a 64-bit hash value. More... | |
This file contains helper functions related to network traffic.
It is also a simple way to include all L2-L4 header files.