// Get hex string
static char buffer[8192];
std::ifstream infile(pathfile.c_str(), std::ifstream::in);
// Get hex string
static char buffer[8192];
std::ifstream infile(pathfile.c_str(), std::ifstream::in);
//-------------------------------------------------------------------
int main(int argc, char **argv) {
std::string exec = argv[0];
//-------------------------------------------------------------------
int main(int argc, char **argv) {
std::string exec = argv[0];
anna::diameter::codec::Engine *codecEngine =
new anna::diameter::codec::Engine();
anna::diameter::stack::Engine &stackEngine =
anna::diameter::codec::Engine *codecEngine =
new anna::diameter::codec::Engine();
anna::diameter::stack::Engine &stackEngine =
outputFile += ".as.xml";
std::ofstream out(outputFile, std::ifstream::out);
out << G_codecMsg.asXMLString();
outputFile += ".as.xml";
std::ofstream out(outputFile, std::ifstream::out);
out << G_codecMsg.asXMLString();
// SNIFFING //////////////////////////////////////////////////////////////////////////////////////////////7
//temporary packet buffers
struct pcap_pkthdr header; // The header that pcap gives us
// SNIFFING //////////////////////////////////////////////////////////////////////////////////////////////7
//temporary packet buffers
struct pcap_pkthdr header; // The header that pcap gives us