embedded IPsec source code documentation


dumpdev-pingdata.h File Reference


Detailed Description

This file contains a ICMP ping reference session to feed the dumpdev device (used for tests).

Definition in file dumpdev-pingdata.h.

Go to the source code of this file.

Data Structures

struct  dumpdev_packet_struct

Defines

#define PING_SEQUENCE_LENGTH   (sizeof(ping_sequence) / sizeof(dumpdev_packet))

Typedefs

typedef enum dumpdev_packet_type_list dumpdev_packet_type
typedef dumpdev_packet_struct dumpdev_packet

Enumerations

enum  dumpdev_packet_type_list { INBOUND = 0, OUTBOUND = 1 }

Variables

unsigned char ping_ARP_broadcast [42]
unsigned char ping_ARP_reply [60]
unsigned char ping_request_01 [74]
unsigned char ping_reply_01 [74]
unsigned char ping_request_02 [74]
unsigned char ping_reply_02 [74]
unsigned char ping_request_03 [74]
unsigned char ping_reply_03 [74]
unsigned char ping_request_04 [74]
unsigned char ping_reply_04 [74]
dumpdev_packet ping_sequence []
int ping_sequence_pos = 0


Define Documentation

#define PING_SEQUENCE_LENGTH   (sizeof(ping_sequence) / sizeof(dumpdev_packet))
 

Definition at line 143 of file dumpdev-pingdata.h.


Typedef Documentation

typedef struct dumpdev_packet_struct dumpdev_packet
 

structure of a single packet

typedef enum dumpdev_packet_type_list dumpdev_packet_type
 

Sequence of dumped reference packets


Enumeration Type Documentation

enum dumpdev_packet_type_list
 

Sequence of dumped reference packets

Enumeration values:
INBOUND 
OUTBOUND 

Definition at line 9 of file dumpdev-pingdata.h.


Variable Documentation

unsigned char ping_ARP_broadcast[42]
 

Initial value:

{
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x08, 0x06, 0x00, 0x01, 
    0x08, 0x00, 0x06, 0x04, 0x00, 0x01, 0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0xC0, 0xA8, 0x01, 0x02, 
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xA8, 0x01, 0x03, 
}
Recorded data of a ping sequence from host 192.168.1.2 (PC) to 192.168.1.3 (MCB 167-NET board)

Definition at line 30 of file dumpdev-pingdata.h.

unsigned char ping_ARP_reply[60]
 

Initial value:

{
    0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x06, 0x00, 0x01, 
    0x08, 0x00, 0x06, 0x04, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xA8, 0x01, 0x03, 
    0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0xC0, 0xA8, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
}

Definition at line 38 of file dumpdev-pingdata.h.

unsigned char ping_reply_01[74]
 

Initial value:

{
    0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00, 
    0x00, 0x3C, 0x00, 0x7B, 0x00, 0x00, 0x80, 0x01, 0xB6, 0xF0, 0xC0, 0xA8, 0x01, 0x03, 0xC0, 0xA8, 
    0x01, 0x02, 0x00, 0x00, 0x51, 0x5C, 0x03, 0x00, 0x01, 0x00, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 
    0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 
    0x77, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 
}

Definition at line 58 of file dumpdev-pingdata.h.

unsigned char ping_reply_02[74]
 

Initial value:

{
    0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00, 
    0x00, 0x3C, 0x00, 0x7C, 0x00, 0x00, 0x80, 0x01, 0xB6, 0xEF, 0xC0, 0xA8, 0x01, 0x03, 0xC0, 0xA8, 
    0x01, 0x02, 0x00, 0x00, 0x50, 0x5C, 0x03, 0x00, 0x02, 0x00, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 
    0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 
    0x77, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 
}

Definition at line 78 of file dumpdev-pingdata.h.

unsigned char ping_reply_03[74]
 

Initial value:

{
    0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00, 
    0x00, 0x3C, 0x00, 0x7D, 0x00, 0x00, 0x80, 0x01, 0xB6, 0xEE, 0xC0, 0xA8, 0x01, 0x03, 0xC0, 0xA8, 
    0x01, 0x02, 0x00, 0x00, 0x4F, 0x5C, 0x03, 0x00, 0x03, 0x00, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 
    0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 
    0x77, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 
}

Definition at line 98 of file dumpdev-pingdata.h.

unsigned char ping_reply_04[74]
 

Initial value:

{
    0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00, 
    0x00, 0x3C, 0x00, 0x7E, 0x00, 0x00, 0x80, 0x01, 0xB6, 0xED, 0xC0, 0xA8, 0x01, 0x03, 0xC0, 0xA8, 
    0x01, 0x02, 0x00, 0x00, 0x4E, 0x5C, 0x03, 0x00, 0x04, 0x00, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 
    0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 
    0x77, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 
}

Definition at line 118 of file dumpdev-pingdata.h.

unsigned char ping_request_01[74]
 

Initial value:

{
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x08, 0x00, 0x45, 0x00, 
    0x00, 0x3C, 0x00, 0x7B, 0x00, 0x00, 0x80, 0x01, 0xB6, 0xF0, 0xC0, 0xA8, 0x01, 0x02, 0xC0, 0xA8, 
    0x01, 0x03, 0x08, 0x00, 0x49, 0x5C, 0x03, 0x00, 0x01, 0x00, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 
    0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 
    0x77, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 
}

Definition at line 48 of file dumpdev-pingdata.h.

unsigned char ping_request_02[74]
 

Initial value:

{
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x08, 0x00, 0x45, 0x00, 
    0x00, 0x3C, 0x00, 0x7C, 0x00, 0x00, 0x80, 0x01, 0xB6, 0xEF, 0xC0, 0xA8, 0x01, 0x02, 0xC0, 0xA8, 
    0x01, 0x03, 0x08, 0x00, 0x48, 0x5C, 0x03, 0x00, 0x02, 0x00, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 
    0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 
    0x77, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 
}

Definition at line 68 of file dumpdev-pingdata.h.

unsigned char ping_request_03[74]
 

Initial value:

{
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x08, 0x00, 0x45, 0x00, 
    0x00, 0x3C, 0x00, 0x7D, 0x00, 0x00, 0x80, 0x01, 0xB6, 0xEE, 0xC0, 0xA8, 0x01, 0x02, 0xC0, 0xA8, 
    0x01, 0x03, 0x08, 0x00, 0x47, 0x5C, 0x03, 0x00, 0x03, 0x00, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 
    0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 
    0x77, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 
}

Definition at line 88 of file dumpdev-pingdata.h.

unsigned char ping_request_04[74]
 

Initial value:

{
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x29, 0x15, 0x1C, 0x41, 0x08, 0x00, 0x45, 0x00, 
    0x00, 0x3C, 0x00, 0x7E, 0x00, 0x00, 0x80, 0x01, 0xB6, 0xED, 0xC0, 0xA8, 0x01, 0x02, 0xC0, 0xA8, 
    0x01, 0x03, 0x08, 0x00, 0x46, 0x5C, 0x03, 0x00, 0x04, 0x00, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 
    0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 
    0x77, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 
}

Definition at line 108 of file dumpdev-pingdata.h.

dumpdev_packet ping_sequence[]
 

Initial value:

Definition at line 129 of file dumpdev-pingdata.h.

int ping_sequence_pos = 0
 

Definition at line 144 of file dumpdev-pingdata.h.


Copyright 2003 by Christian Scheurer and Niklaus Schild