NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rawpacket.cc File Reference
#include <poll.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <arpa/inet.h>
#include <linux/if_packet.h>
#include <linux/if_ether.h>
#include <stdio.h>
#include <string.h>

Macros

#define CHECK(X)   ({ int res; res = X; if (res < 0) { perror(#X); return -1; }; res; })

Functions

int main (int argv, char **args)

Variables

const size_t buffer_size = 1<<22
 RawSocket Connector.
const size_t frame_size = 1<<14

Macro Definition Documentation

#define CHECK (   X)    ({ int res; res = X; if (res < 0) { perror(#X); return -1; }; res; })

Function Documentation

int main ( int  argv,
char **  args 
)

Variable Documentation

const size_t buffer_size = 1<<22

RawSocket Connector.

Bernhard Kauer bk@vm.nosp@m.mon..nosp@m.org

const size_t frame_size = 1<<14