Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ClntParser Class Reference

#include <ClntParser.h>

+ Collaboration diagram for ClntParser:

Public Types

enum  YY_ClntParser_ENUM_TOKEN {
  YY_ClntParser_NULL_TOKEN = 0, T1_ = 258, T2_ = 259, PREF_TIME_ = 260,
  DNS_SERVER_ = 261, VALID_TIME_ = 262, UNICAST_ = 263, NTP_SERVER_ = 264,
  DOMAIN_ = 265, TIME_ZONE_ = 266, SIP_SERVER_ = 267, SIP_DOMAIN_ = 268,
  NIS_SERVER_ = 269, NISP_SERVER_ = 270, NIS_DOMAIN_ = 271, NISP_DOMAIN_ = 272,
  FQDN_ = 273, FQDN_S_ = 274, DDNS_PROTOCOL_ = 275, DDNS_TIMEOUT_ = 276,
  LIFETIME_ = 277, VENDOR_SPEC_ = 278, IFACE_ = 279, NO_CONFIG_ = 280,
  REJECT_SERVERS_ = 281, PREFERRED_SERVERS_ = 282, IA_ = 283, TA_ = 284,
  IAID_ = 285, ADDRESS_KEYWORD_ = 286, NAME_ = 287, IPV6ADDR_ = 288,
  WORKDIR_ = 289, RAPID_COMMIT_ = 290, OPTION_ = 291, SCRIPT_ = 292,
  LOGNAME_ = 293, LOGLEVEL_ = 294, LOGMODE_ = 295, LOGCOLORS_ = 296,
  STRING_ = 297, HEXNUMBER_ = 298, INTNUMBER_ = 299, DUID_ = 300,
  STRICT_RFC_NO_ROUTING_ = 301, SKIP_CONFIRM_ = 302, OBEY_RA_BITS_ = 303, PD_ = 304,
  PREFIX_ = 305, DOWNLINK_PREFIX_IFACES_ = 306, DUID_TYPE_ = 307, DUID_TYPE_LLT_ = 308,
  DUID_TYPE_LL_ = 309, DUID_TYPE_EN_ = 310, AUTH_METHODS_ = 311, AUTH_PROTOCOL_ = 312,
  AUTH_ALGORITHM_ = 313, AUTH_REPLAY_ = 314, AUTH_REALM_ = 315, DIGEST_NONE_ = 316,
  DIGEST_PLAIN_ = 317, DIGEST_HMAC_MD5_ = 318, DIGEST_HMAC_SHA1_ = 319, DIGEST_HMAC_SHA224_ = 320,
  DIGEST_HMAC_SHA256_ = 321, DIGEST_HMAC_SHA384_ = 322, DIGEST_HMAC_SHA512_ = 323, STATELESS_ = 324,
  ANON_INF_REQUEST_ = 325, INSIST_MODE_ = 326, INACTIVE_MODE_ = 327, EXPERIMENTAL_ = 328,
  ADDR_PARAMS_ = 329, REMOTE_AUTOCONF_ = 330, AFTR_ = 331, ROUTING_ = 332,
  BIND_TO_ADDR_ = 333, ADDRESS_LIST_KEYWORD_ = 334, STRING_KEYWORD_ = 335, DUID_KEYWORD_ = 336,
  HEX_KEYWORD_ = 337, RECONFIGURE_ = 338, YY_ClntParser_NULL_TOKEN = 0, T1_ = 258,
  T2_ = 259, PREF_TIME_ = 260, DNS_SERVER_ = 261, VALID_TIME_ = 262,
  UNICAST_ = 263, NTP_SERVER_ = 264, DOMAIN_ = 265, TIME_ZONE_ = 266,
  SIP_SERVER_ = 267, SIP_DOMAIN_ = 268, NIS_SERVER_ = 269, NISP_SERVER_ = 270,
  NIS_DOMAIN_ = 271, NISP_DOMAIN_ = 272, FQDN_ = 273, FQDN_S_ = 274,
  DDNS_PROTOCOL_ = 275, DDNS_TIMEOUT_ = 276, LIFETIME_ = 277, VENDOR_SPEC_ = 278,
  IFACE_ = 279, NO_CONFIG_ = 280, REJECT_SERVERS_ = 281, PREFERRED_SERVERS_ = 282,
  IA_ = 283, TA_ = 284, IAID_ = 285, ADDRESS_KEYWORD_ = 286,
  NAME_ = 287, IPV6ADDR_ = 288, WORKDIR_ = 289, RAPID_COMMIT_ = 290,
  OPTION_ = 291, SCRIPT_ = 292, LOGNAME_ = 293, LOGLEVEL_ = 294,
  LOGMODE_ = 295, LOGCOLORS_ = 296, STRING_ = 297, HEXNUMBER_ = 298,
  INTNUMBER_ = 299, DUID_ = 300, STRICT_RFC_NO_ROUTING_ = 301, SKIP_CONFIRM_ = 302,
  OBEY_RA_BITS_ = 303, PD_ = 304, PREFIX_ = 305, DOWNLINK_PREFIX_IFACES_ = 306,
  DUID_TYPE_ = 307, DUID_TYPE_LLT_ = 308, DUID_TYPE_LL_ = 309, DUID_TYPE_EN_ = 310,
  AUTH_METHODS_ = 311, AUTH_PROTOCOL_ = 312, AUTH_ALGORITHM_ = 313, AUTH_REPLAY_ = 314,
  AUTH_REALM_ = 315, DIGEST_NONE_ = 316, DIGEST_PLAIN_ = 317, DIGEST_HMAC_MD5_ = 318,
  DIGEST_HMAC_SHA1_ = 319, DIGEST_HMAC_SHA224_ = 320, DIGEST_HMAC_SHA256_ = 321, DIGEST_HMAC_SHA384_ = 322,
  DIGEST_HMAC_SHA512_ = 323, STATELESS_ = 324, ANON_INF_REQUEST_ = 325, INSIST_MODE_ = 326,
  INACTIVE_MODE_ = 327, EXPERIMENTAL_ = 328, ADDR_PARAMS_ = 329, REMOTE_AUTOCONF_ = 330,
  AFTR_ = 331, ROUTING_ = 332, BIND_TO_ADDR_ = 333, ADDRESS_LIST_KEYWORD_ = 334,
  STRING_KEYWORD_ = 335, DUID_KEYWORD_ = 336, HEX_KEYWORD_ = 337, RECONFIGURE_ = 338
}
enum  YY_ClntParser_ENUM_TOKEN {
  YY_ClntParser_NULL_TOKEN = 0, T1_ = 258, T2_ = 259, PREF_TIME_ = 260,
  DNS_SERVER_ = 261, VALID_TIME_ = 262, UNICAST_ = 263, NTP_SERVER_ = 264,
  DOMAIN_ = 265, TIME_ZONE_ = 266, SIP_SERVER_ = 267, SIP_DOMAIN_ = 268,
  NIS_SERVER_ = 269, NISP_SERVER_ = 270, NIS_DOMAIN_ = 271, NISP_DOMAIN_ = 272,
  FQDN_ = 273, FQDN_S_ = 274, DDNS_PROTOCOL_ = 275, DDNS_TIMEOUT_ = 276,
  LIFETIME_ = 277, VENDOR_SPEC_ = 278, IFACE_ = 279, NO_CONFIG_ = 280,
  REJECT_SERVERS_ = 281, PREFERRED_SERVERS_ = 282, IA_ = 283, TA_ = 284,
  IAID_ = 285, ADDRESS_KEYWORD_ = 286, NAME_ = 287, IPV6ADDR_ = 288,
  WORKDIR_ = 289, RAPID_COMMIT_ = 290, OPTION_ = 291, SCRIPT_ = 292,
  LOGNAME_ = 293, LOGLEVEL_ = 294, LOGMODE_ = 295, LOGCOLORS_ = 296,
  STRING_ = 297, HEXNUMBER_ = 298, INTNUMBER_ = 299, DUID_ = 300,
  STRICT_RFC_NO_ROUTING_ = 301, SKIP_CONFIRM_ = 302, OBEY_RA_BITS_ = 303, PD_ = 304,
  PREFIX_ = 305, DOWNLINK_PREFIX_IFACES_ = 306, DUID_TYPE_ = 307, DUID_TYPE_LLT_ = 308,
  DUID_TYPE_LL_ = 309, DUID_TYPE_EN_ = 310, AUTH_METHODS_ = 311, AUTH_PROTOCOL_ = 312,
  AUTH_ALGORITHM_ = 313, AUTH_REPLAY_ = 314, AUTH_REALM_ = 315, DIGEST_NONE_ = 316,
  DIGEST_PLAIN_ = 317, DIGEST_HMAC_MD5_ = 318, DIGEST_HMAC_SHA1_ = 319, DIGEST_HMAC_SHA224_ = 320,
  DIGEST_HMAC_SHA256_ = 321, DIGEST_HMAC_SHA384_ = 322, DIGEST_HMAC_SHA512_ = 323, STATELESS_ = 324,
  ANON_INF_REQUEST_ = 325, INSIST_MODE_ = 326, INACTIVE_MODE_ = 327, EXPERIMENTAL_ = 328,
  ADDR_PARAMS_ = 329, REMOTE_AUTOCONF_ = 330, AFTR_ = 331, ROUTING_ = 332,
  BIND_TO_ADDR_ = 333, ADDRESS_LIST_KEYWORD_ = 334, STRING_KEYWORD_ = 335, DUID_KEYWORD_ = 336,
  HEX_KEYWORD_ = 337, RECONFIGURE_ = 338, YY_ClntParser_NULL_TOKEN = 0, T1_ = 258,
  T2_ = 259, PREF_TIME_ = 260, DNS_SERVER_ = 261, VALID_TIME_ = 262,
  UNICAST_ = 263, NTP_SERVER_ = 264, DOMAIN_ = 265, TIME_ZONE_ = 266,
  SIP_SERVER_ = 267, SIP_DOMAIN_ = 268, NIS_SERVER_ = 269, NISP_SERVER_ = 270,
  NIS_DOMAIN_ = 271, NISP_DOMAIN_ = 272, FQDN_ = 273, FQDN_S_ = 274,
  DDNS_PROTOCOL_ = 275, DDNS_TIMEOUT_ = 276, LIFETIME_ = 277, VENDOR_SPEC_ = 278,
  IFACE_ = 279, NO_CONFIG_ = 280, REJECT_SERVERS_ = 281, PREFERRED_SERVERS_ = 282,
  IA_ = 283, TA_ = 284, IAID_ = 285, ADDRESS_KEYWORD_ = 286,
  NAME_ = 287, IPV6ADDR_ = 288, WORKDIR_ = 289, RAPID_COMMIT_ = 290,
  OPTION_ = 291, SCRIPT_ = 292, LOGNAME_ = 293, LOGLEVEL_ = 294,
  LOGMODE_ = 295, LOGCOLORS_ = 296, STRING_ = 297, HEXNUMBER_ = 298,
  INTNUMBER_ = 299, DUID_ = 300, STRICT_RFC_NO_ROUTING_ = 301, SKIP_CONFIRM_ = 302,
  OBEY_RA_BITS_ = 303, PD_ = 304, PREFIX_ = 305, DOWNLINK_PREFIX_IFACES_ = 306,
  DUID_TYPE_ = 307, DUID_TYPE_LLT_ = 308, DUID_TYPE_LL_ = 309, DUID_TYPE_EN_ = 310,
  AUTH_METHODS_ = 311, AUTH_PROTOCOL_ = 312, AUTH_ALGORITHM_ = 313, AUTH_REPLAY_ = 314,
  AUTH_REALM_ = 315, DIGEST_NONE_ = 316, DIGEST_PLAIN_ = 317, DIGEST_HMAC_MD5_ = 318,
  DIGEST_HMAC_SHA1_ = 319, DIGEST_HMAC_SHA224_ = 320, DIGEST_HMAC_SHA256_ = 321, DIGEST_HMAC_SHA384_ = 322,
  DIGEST_HMAC_SHA512_ = 323, STATELESS_ = 324, ANON_INF_REQUEST_ = 325, INSIST_MODE_ = 326,
  INACTIVE_MODE_ = 327, EXPERIMENTAL_ = 328, ADDR_PARAMS_ = 329, REMOTE_AUTOCONF_ = 330,
  AFTR_ = 331, ROUTING_ = 332, BIND_TO_ADDR_ = 333, ADDRESS_LIST_KEYWORD_ = 334,
  STRING_KEYWORD_ = 335, DUID_KEYWORD_ = 336, HEX_KEYWORD_ = 337, RECONFIGURE_ = 338
}

Public Member Functions

 ClntParser (yyFlexLexer *lex)
 ClntParser (yyFlexLexer *lex)
virtual ~ClntParser ()
virtual ~ClntParser ()
void EmptyAddr ()
void EmptyAddr ()
void EmptyIA ()
void EmptyIA ()
void EmptyIface ()
void EmptyIface ()
void EndIADeclaration ()
void EndIADeclaration ()
bool EndIfaceDeclaration ()
bool EndIfaceDeclaration ()
bool EndPDDeclaration ()
bool EndPDDeclaration ()
bool IfaceDefined (int ifaceNr)
bool IfaceDefined (const std::string &ifaceName)
bool IfaceDefined (std::string &ifaceName)
bool IfaceDefined (int ifaceNr)
 List (std::string) PresentStringLst
 List (std::string) PresentStringLst
bool StartIADeclaration (bool aggregation)
bool StartIADeclaration (bool aggregation)
bool StartIfaceDeclaration (const std::string &ifaceName)
bool StartIfaceDeclaration (int ifindex)
bool StartIfaceDeclaration (std::string &ifaceName)
bool StartIfaceDeclaration (int ifindex)
bool StartPDDeclaration ()
bool StartPDDeclaration ()
 creates PD context
virtual void yyerror (char *msg)
virtual void yyerror (char *msg)
virtual int yylex ()
virtual int yylex ()
int yyparse (void)
int yyparse (void)

Public Attributes

unsigned int AddrCount_
TClntCfgMgrCfgMgr
TContainer< SPtr< TClntCfgAddr > > ClntCfgAddrLst
TContainer< SPtr< TClntCfgIA > > ClntCfgIALst
TContainer< SPtr< TClntCfgIface > > ClntCfgIfaceLst
TContainer< SPtr< TClntCfgPD > > ClntCfgPDLst
TContainer< SPtr< TClntCfgTA > > ClntCfgTALst
DigestTypesLst DigestLst
SPtr< TDUIDDUIDEnterpriseID
int DUIDEnterpriseNumber
EDUIDType DUIDType
unsigned int iaid
bool iaidSet
yyFlexLexerLex_
TContainer< SPtr
< TClntParsGlobalOpt > > 
ParserOptStack
TContainer< SPtr
< TClntCfgPrefix > > 
PrefixLst
TContainer< SPtr< TIPv6Addr > > PresentAddrLst
TContainer< SPtr< THostID > > PresentStationLst
TContainer< SPtr
< TOptVendorSpecInfo > > 
VendorSpec
int yychar
int yydebug
yy_ClntParser_stype yylval
int yynerrs

Member Enumeration Documentation

Enumerator:
YY_ClntParser_NULL_TOKEN 
T1_ 
T2_ 
PREF_TIME_ 
DNS_SERVER_ 
VALID_TIME_ 
UNICAST_ 
NTP_SERVER_ 
DOMAIN_ 
TIME_ZONE_ 
SIP_SERVER_ 
SIP_DOMAIN_ 
NIS_SERVER_ 
NISP_SERVER_ 
NIS_DOMAIN_ 
NISP_DOMAIN_ 
FQDN_ 
FQDN_S_ 
DDNS_PROTOCOL_ 
DDNS_TIMEOUT_ 
LIFETIME_ 
VENDOR_SPEC_ 
IFACE_ 
NO_CONFIG_ 
REJECT_SERVERS_ 
PREFERRED_SERVERS_ 
IA_ 
TA_ 
IAID_ 
ADDRESS_KEYWORD_ 
NAME_ 
IPV6ADDR_ 
WORKDIR_ 
RAPID_COMMIT_ 
OPTION_ 
SCRIPT_ 
LOGNAME_ 
LOGLEVEL_ 
LOGMODE_ 
LOGCOLORS_ 
STRING_ 
HEXNUMBER_ 
INTNUMBER_ 
DUID_ 
STRICT_RFC_NO_ROUTING_ 
SKIP_CONFIRM_ 
OBEY_RA_BITS_ 
PD_ 
PREFIX_ 
DOWNLINK_PREFIX_IFACES_ 
DUID_TYPE_ 
DUID_TYPE_LLT_ 
DUID_TYPE_LL_ 
DUID_TYPE_EN_ 
AUTH_METHODS_ 
AUTH_PROTOCOL_ 
AUTH_ALGORITHM_ 
AUTH_REPLAY_ 
AUTH_REALM_ 
DIGEST_NONE_ 
DIGEST_PLAIN_ 
DIGEST_HMAC_MD5_ 
DIGEST_HMAC_SHA1_ 
DIGEST_HMAC_SHA224_ 
DIGEST_HMAC_SHA256_ 
DIGEST_HMAC_SHA384_ 
DIGEST_HMAC_SHA512_ 
STATELESS_ 
ANON_INF_REQUEST_ 
INSIST_MODE_ 
INACTIVE_MODE_ 
EXPERIMENTAL_ 
ADDR_PARAMS_ 
REMOT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 
STATELESS_ 
ANON_INF_REQUEST_ 
INSIST_MODE_ 
INACTIVE_MODE_ 
EXPERIMENTAL_ 
ADDR_PARAMS_ 
REMOTE_AUTOCONF_ 
AFTR_ 
ROUTING_ 
BIND_TO_ADDR_ 
ADDRESS_LIST_KEYWORD_ 
STRING_KEYWORD_ 
DUID_KEYWORD_ 
HEX_KEYWORD_ 
RECONFIGURE_ 

Constructor & Destructor Documentation

ClntParser::ClntParser ( yyFlexLexer lex)
ClntParser::~ClntParser ( )
virtual

Desctructor. Just cleans things up

ClntParser::ClntParser ( yyFlexLexer lex)
virtual ClntParser::~ClntParser ( )
virtual

Member Function Documentation

void ClntParser::EmptyAddr ( )
void ClntParser::EmptyAddr ( )

method adds empty address to the ClntCfgAddrList list and sets its properties to last parsed values

void ClntParser::EmptyIA ( )
void ClntParser::EmptyIA ( )

method adds 1 IA object (containing 1 address) to the ClntCfgIA list. Both objects' properties are set to last parsed values

void ClntParser::EmptyIface ( )
void ClntParser::EmptyIface ( )
void ClntParser::EndIADeclaration ( )
void ClntParser::EndIADeclaration ( )

Inbelivable piece of crap code. If you read this, rewrite this code immediately.

bool ClntParser::EndIfaceDeclaration ( )
bool ClntParser::EndIfaceDeclaration ( )
bool ClntParser::EndPDDeclaration ( )
bool ClntParser::EndPDDeclaration ( )
bool ClntParser::IfaceDefined ( int  ifaceNr)
bool ClntParser::IfaceDefined ( const std::string &  ifaceName)
bool ClntParser::IfaceDefined ( int  ifindex)

method check whether interface with id=ifaceNr has been already declared.

Parameters
ifindexinterface index of the checked interface
Returns
true if not declared.
bool ClntParser::IfaceDefined ( std::string &  ifaceName)

method check whether interface with specified name has been already declared.

Parameters
ifaceNamename of the checked interface
Returns
true if not declared.
ClntParser::List ( std::string  )
ClntParser::List ( std::string  )
bool ClntParser::StartIADeclaration ( bool  aggregation)
bool ClntParser::StartIADeclaration ( bool  aggregation)

method creates new scope appropriately for interface options and declarations clears list of addresses

Parameters
aggregation- does this IA contains suboptions ( ia { ... } )
Returns
true if creation was successful
bool ClntParser::StartIfaceDeclaration ( int  ifindex)
bool ClntParser::StartIfaceDeclaration ( const std::string &  ifaceName)
bool ClntParser::StartIfaceDeclaration ( int  ifindex)

creates new scope appropriately for interface options and declarations clears all lists except the list of interfaces and adds new group

bool ClntParser::StartIfaceDeclaration ( std::string &  ifaceName)

creates new scope appropriately for interface options and declarations clears all lists except the list of interfaces and adds new group

bool ClntParser::StartPDDeclaration ( )
bool ClntParser::StartPDDeclaration ( )

creates PD context

Returns
true if initialization was successful
virtual void ClntParser::yyerror ( char *  msg)
virtual
void ClntParser::yyerror ( char *  m)
virtual

This method is called when parsing error is detected.

Parameters
m- first invalid character
virtual int ClntParser::yylex ( )
virtual
int ClntParser::yylex ( )
virtual
int ClntParser::yyparse ( void  )
int ClntParser::yyparse ( void  )

Member Data Documentation

unsigned int ClntParser::AddrCount_
TClntCfgMgr * ClntParser::CfgMgr
TContainer< SPtr< TClntCfgAddr > > ClntParser::ClntCfgAddrLst
TContainer< SPtr< TClntCfgIA > > ClntParser::ClntCfgIALst
TContainer< SPtr< TClntCfgIface > > ClntParser::ClntCfgIfaceLst
TContainer< SPtr< TClntCfgPD > > ClntParser::ClntCfgPDLst
TContainer< SPtr< TClntCfgTA > > ClntParser::ClntCfgTALst
DigestTypesLst ClntParser::DigestLst
SPtr< TDUID > ClntParser::DUIDEnterpriseID
int ClntParser::DUIDEnterpriseNumber
EDUIDType ClntParser::DUIDType
unsigned int ClntParser::iaid
bool ClntParser::iaidSet
yyFlexLexer * ClntParser::Lex_
TContainer< SPtr< TClntParsGlobalOpt > > ClntParser::ParserOptStack
TContainer< SPtr< TClntCfgPrefix > > ClntParser::PrefixLst
TContainer< SPtr< TIPv6Addr > > ClntParser::PresentAddrLst
TContainer< SPtr< THostID > > ClntParser::PresentStationLst
TContainer< SPtr< TOptVendorSpecInfo > > ClntParser::VendorSpec
int ClntParser::yychar
int ClntParser::yydebug
yy_ClntParser_stype ClntParser::yylval
int ClntParser::yynerrs

The documentation for this class was generated from the following files: