packet_parser.h File Reference

#include "ipv6.h"
#include <sys/types.h>

Include dependency graph for packet_parser.h:

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

Go to the source code of this file.

Data Structures

struct  tracking_t

Enumerations

enum  tcp_state_t {
  TCP_STATE_DROP = 0, TCP_STATE_OPEN, TCP_STATE_ESTABLISHED, TCP_STATE_CLOSE,
  TCP_STATE_UNKNOW
}

Functions

unsigned int get_ip_headers (tracking_t *tracking, const unsigned char *dgram, unsigned int dgram_size)
int get_udp_headers (tracking_t *tracking, const unsigned char *dgram, unsigned int dgram_size)
tcp_state_t get_tcp_headers (tracking_t *tracking, const unsigned char *dgram, unsigned int dgram_size)
int get_icmp_headers (tracking_t *tracking, const unsigned char *dgram, unsigned int dgram_size)
int get_icmpv6_headers (tracking_t *tracking, const unsigned char *dgram, unsigned int dgram_size)


Enumeration Type Documentation

enum tcp_state_t

State of a connection

Enumerator:
TCP_STATE_DROP  NuAuth decide to drop the connection
TCP_STATE_OPEN  A new connection is just created (SYN)
TCP_STATE_ESTABLISHED  The connection is established (SYN,ACK)
TCP_STATE_CLOSE  The connection is closed (RST)
TCP_STATE_UNKNOW  Error code of get_tcp_headers() function

Definition at line 41 of file packet_parser.h.


Generated on Sat Nov 22 04:00:39 2008 for NuFW by  doxygen 1.4.7