IpPacket.h File Reference

#include "Packet.h"

Include dependency graph for IpPacket.h:

This graph shows which files directly or indirectly include this file:


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_HEADERPIP_HEADER
typedef struct _IP_ADDR IP_ADDR
typedef struct _IP_ADDRPIP_ADDR

Define Documentation

#define IP_ADDR_LEN   4

#define IP_HEADER_FLAGS (  )     ((x & 0xE000 ) >> 13 )

#define IP_HEADER_FRAGOFFSET (  )     ((x & 0x1FFF ) )

#define IP_HEADER_LEN (  )     ((x & 0x0F ) * 4 )

#define IP_HEADER_NO_OPTIONS_LEN   20

#define IP_HEADER_VERSION (  )     ((x & 0xF0 ) >> 4 )

#define IPTYPE_ICMP   0x01

#define IPTYPE_IP   0x04

#define IPTYPE_IPV6   0x29

#define IPTYPE_TCP   0x06

#define IPTYPE_UDP   0x11


Typedef Documentation

typedef struct _IP_ADDR IP_ADDR

typedef struct _IP_HEADER IP_HEADER

typedef struct _IP_ADDR * PIP_ADDR

typedef struct _IP_HEADER * PIP_HEADER


Generated on Wed Jun 18 09:37:23 2008 for pktanon by  doxygen 1.5.5