A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
raw-sock-creator.cc File Reference
#include <unistd.h>
#include <string>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <stdlib.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/ioctl.h>
#include <net/ethernet.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netpacket/packet.h>
#include <arpa/inet.h>
#include "creator-utils.h"
+ Include dependency graph for raw-sock-creator.cc:

Go to the source code of this file.

Macros

#define EMU_MAGIC   65867
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

#define EMU_MAGIC   65867

Definition at line 38 of file raw-sock-creator.cc.

Referenced by main().

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 43 of file raw-sock-creator.cc.

References ABORT_IF, EMU_MAGIC, ns3::gVerbose, LOG, and ns3::SendSocket().

+ Here is the call graph for this function: