Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

tables.h File Reference

Go to the source code of this file.

Data Structures

struct  mysql_tables
 This structure contains all the database description. More...

struct  table_abonne_ip
 This data structure represents the table 'abonne_ip'. More...

struct  table_abonnes
 This data structure represents the table 'abonnes'. More...

struct  table_ip_lease
 This table represents the table 'ip_lease'. More...

struct  table_logistic_radius
 This structure represents the table 'LOGISTIC_RADIUS' of the database 'autoconf'. More...

struct  table_options
 This table represents the table 'options'. More...

struct  table_pool
 This table represents the table 'pool'. More...

struct  table_vlan
 This structure represents the table 'vlan'. More...


Defines

#define LOGIN_RADIUS_SIZE   51
 Maximum number of characters for a radius login.

#define MYDNS_LOGIN_SIZE   128
 Maximum number of characters for a MyDns login = radius2mydns(login). You MUST set MYDNS_LOGIN_SIZE > 2*LOGIN_RADIUS_SIZE.

#define IP_ADDRESS_STR_SIZE   16
 Maximum number of characters for an IP address (XXX.XXX.XXX.XXX).

#define OPTIONNAL_PROFILE_SIZE   256
 Maximum number of characters for the optionnal profile ID.

#define ACCT_IDENTIFIER_SIZE   36
 Maximum number of characters for the radius 'ACCT' identifier.

#define LABEL_SIZE   256
 Maximum number of characters for a label.

#define COMMENT_SIZE   256
 Maximum number of characters for a comment.

#define CIDR_SIZE   256
 Maximum number of characters for a CIDR (XXX.XXX.XXX.XXX/N).

#define OPTION_TYPE_SIZE   20
 Size, in bytes, for the option's type.

#define OPTION_VALUE_SIZE   256
 Size, in bytes, for the option's value.

#define MAX_PROFILE_OPTIONS   256
 Maximum number of options for a DHCP packet's profile.

#define LOGISTIC_MAC_ADDRESS_SIZE   256
 Size of the buffer used to store the field 'MAC_ADDRESS' of the table 'LOGISTIC_RADIUS'.

#define LOGISTIC_RADIUS_LOGIN_SIZE   256
 Size of the buffer used to store the field 'RADIUS_LOGIN' of the table 'LOGISTIC_RADIUS'.

#define LOGISTIC_LOGIN_MODEM_SIZE   256
 Size of the buffer used to store the field 'LOGIN_MODEM' of the table 'LOGISTIC_RADIUS'.

#define LOGIN_MODEM_SIZE   128
 Size of the buffer used to store the field 'LOGIN_MODEM' of the table 'RADONLINE'.

#define NODE_ID_SIZE   20
 Number of bytes used to represent a node ID. More...


Detailed Description

Header that difines all the tables structure.

Definition in file tables.h.


Define Documentation

#define NODE_ID_SIZE   20
 

Number of bytes used to represent a 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).
Warning:
If you modify the value of this constant, you must also modify the value of the constant NODE_BUFFER_SIZE (see file "packets_data.h").

Definition at line 98 of file tables.h.


Generated on Mon Jun 19 12:31:07 2006 for MyDhcp_V2 by doxygen1.2.15