NETWORK ATTACKS FRAMEWORK
1.0.0
A NETwork Attacks framework. Making network attacks impact evaluation easier!
|
#include <stdio.h>
#include <stdlib.h>
#include "compatibility.h"
#include "NA_aodv_msg_struct_m.h"
Go to the source code of this file.
Classes | |
struct | AODV_ext |
struct | AODV_msg |
struct | RERR_udest |
struct | RERR |
struct | RREP |
struct | RREP_ack |
struct | RREQ |
Defines | |
#define | HDR_AODVUU(p) ((hdr_aodvuu *) hdr_aodvuu::access(p)) |
#define | AODV_EXT_HDR_SIZE 2 |
#define | AODV_EXT_DATA(ext) ((char *)ext->pointer) |
#define | AODV_EXT_NEXT(ext) ((AODV_ext *) (ext+1)) |
#define | AODV_EXT_SIZE(ext) (AODV_EXT_HDR_SIZE+ext->length) |
#define | RERR_UDEST_SIZE 8 |
#define | RERR_UDEST_FIRST(rerr) (rerr->getUdest(0)) |
#define | RERR_UDEST_NEXT(udest) ((RERR_udest *)((char *)udest + sizeof(RERR_udest))) |
#define | RERR_SIZE 12 |
#define | RERR_CALC_SIZE(rerr) (rerr->getByteLength()) |
#define | RREP_SIZE 20 |
#define | RREP_ACK_SIZE 2 |
#define | RREQ_SIZE 24 |
Typedefs | |
typedef AODV_msg | hdr_aodvuu |
#define AODV_EXT_DATA | ( | ext | ) | ((char *)ext->pointer) |
Definition at line 59 of file NA_aodv_msg_struct.h.
#define AODV_EXT_HDR_SIZE 2 |
Definition at line 58 of file NA_aodv_msg_struct.h.
#define AODV_EXT_NEXT | ( | ext | ) | ((AODV_ext *) (ext+1)) |
Definition at line 60 of file NA_aodv_msg_struct.h.
#define AODV_EXT_SIZE | ( | ext | ) | (AODV_EXT_HDR_SIZE+ext->length) |
Definition at line 61 of file NA_aodv_msg_struct.h.
#define HDR_AODVUU | ( | p | ) | ((hdr_aodvuu *) hdr_aodvuu::access(p)) |
Definition at line 57 of file NA_aodv_msg_struct.h.
#define RERR_CALC_SIZE | ( | rerr | ) | (rerr->getByteLength()) |
Definition at line 105 of file NA_aodv_msg_struct.h.
#define RERR_SIZE 12 |
Definition at line 104 of file NA_aodv_msg_struct.h.
#define RERR_UDEST_FIRST | ( | rerr | ) | (rerr->getUdest(0)) |
Definition at line 102 of file NA_aodv_msg_struct.h.
#define RERR_UDEST_NEXT | ( | udest | ) | ((RERR_udest *)((char *)udest + sizeof(RERR_udest))) |
Definition at line 103 of file NA_aodv_msg_struct.h.
#define RERR_UDEST_SIZE 8 |
Definition at line 71 of file NA_aodv_msg_struct.h.
#define RREP_ACK_SIZE 2 |
Definition at line 164 of file NA_aodv_msg_struct.h.
#define RREP_SIZE 20 |
Definition at line 150 of file NA_aodv_msg_struct.h.
#define RREQ_SIZE 24 |
Definition at line 211 of file NA_aodv_msg_struct.h.
typedef AODV_msg hdr_aodvuu |
Definition at line 55 of file NA_aodv_msg_struct.h.