#include "Packet.h"
Classes | |
struct | _IP_HEADER |
struct | _IP_ADDR |
class | IpPacket |
Defines | |
#define | IPTYPE_IP 0x04 |
#define | IPTYPE_TCP 0x06 |
#define | IPTYPE_UDP 0x11 |
#define | IPTYPE_ICMP 0x01 |
#define | IPTYPE_IPV6 0x29 |
#define | IP_ADDR_LEN 4 |
#define | IP_HEADER_NO_OPTIONS_LEN 20 |
#define | IP_HEADER_VERSION(x) ((x & 0xF0 ) >> 4 ) |
#define | IP_HEADER_LEN(x) ((x & 0x0F ) * 4 ) |
#define | IP_HEADER_FLAGS(x) ((x & 0xE000 ) >> 13 ) |
#define | IP_HEADER_FRAGOFFSET(x) ((x & 0x1FFF ) ) |
Typedefs | |
typedef struct _IP_HEADER | IP_HEADER |
typedef struct _IP_HEADER * | PIP_HEADER |
typedef struct _IP_ADDR | IP_ADDR |
typedef struct _IP_ADDR * | PIP_ADDR |
#define IP_ADDR_LEN 4 |
#define IP_HEADER_FLAGS | ( | x | ) | ((x & 0xE000 ) >> 13 ) |
#define IP_HEADER_FRAGOFFSET | ( | x | ) | ((x & 0x1FFF ) ) |
#define IP_HEADER_LEN | ( | x | ) | ((x & 0x0F ) * 4 ) |
#define IP_HEADER_NO_OPTIONS_LEN 20 |
#define IP_HEADER_VERSION | ( | x | ) | ((x & 0xF0 ) >> 4 ) |
#define IPTYPE_ICMP 0x01 |
#define IPTYPE_IP 0x04 |
#define IPTYPE_IPV6 0x29 |
#define IPTYPE_TCP 0x06 |
#define IPTYPE_UDP 0x11 |
typedef struct _IP_HEADER IP_HEADER |
typedef struct _IP_HEADER * PIP_HEADER |