A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
tap-encode-decode.h File Reference
#include <cstdint>
#include <string>
+ Include dependency graph for tap-encode-decode.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

std::string ns3::TapBufferToString (uint8_t *buffer, uint32_t len)
 Convert a byte buffer to a string containing a hex representation of the buffer.
 
bool ns3::TapStringToBuffer (std::string s, uint8_t *buffer, uint32_t *len)
 Convert string encoded by the inverse function (TapBufferToString) back into a byte buffer.