Myra Canyon  v0.0.1-768
network control
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Network.hpp File Reference

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"
Include dependency graph for Network.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

This file contains helper functions related to network traffic.

It is also a simple way to include all L2-L4 header files.