Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

dhcp82 Struct Reference

This structure contains the option 82 values. More...

#include <packets_data.h>


Data Fields

unsigned char sub_option
 Remote ID sub-option.

unsigned char length
 Total length of the value fields.

unsigned long int vendor_id
 UTStarcom vendor ID.

unsigned char port_type
 ATM port.

unsigned char version
 Version number.

unsigned int vlan_id
 Port VLAN ID. More...

unsigned char nas_mac [6]
 MAC address of line card Ethernet port.

unsigned long int nas_ip
 GIADDR (0x00 not used by a bridge).

char node_id [NODE_BUFFER_SIZE]
 DSLAM's node ID. More...

unsigned char shelf
 DSLAM's shelf ID.

unsigned char numero_slot
 Slot number.

unsigned char numero_port
 Port number.

unsigned short int vpi
 VPI of port.

unsigned short int vci
 VCI of port.

int constructor
 DSLAM's constructor (Alcatel or UtStarcom).


Detailed Description

This structure contains the option 82 values.

Definition at line 39 of file packets_data.h.


Field Documentation

char dhcp82::node_id[NODE_BUFFER_SIZE]
 

DSLAM's node ID.

Remarks:
  • Alcatel's DSLAMs need up to 20 bytes to represent the node ID.
  • Utstarcom's DSLAMs need up to 5 bytes (maximum value is "65535" - unsigned shot int).

Definition at line 80 of file packets_data.h.

unsigned int dhcp82::vlan_id
 

Port VLAN ID.

Remarks:
For UtStarCom, an 'unsigned short int is enough'.

Definition at line 63 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