Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

op_control Struct Reference

This structure is associated with all packets. It contains information about the packets. More...

#include <packets_data.h>


Data Fields

char * opt_pointer
 Pointer used to read the option's part of a given DHCP packet.

unsigned char * opt_pointer_reader
 Pointer used to write packet's options.

int taille
 Total size (in bytes) of the DHCP packet (this include the UDP payload only).

opt list [256]
 List of options for the DHCP packet.

dhcp82 dslam_data
 Parsed option 82 from DSLAM.


Detailed Description

This structure is associated with all packets. It contains information about the packets.

Warning:
When a packet is received (via the incoming socket), you must initialize the size of the packet by calling the function packet_set_taille() (this sets the field 'taille').

Definition at line 198 of file packets_data.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jun 19 12:31:07 2006 for MyDhcp_V2 by doxygen1.2.15