Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ClntParser.cpp File Reference
#include <stdio.h>
#include <iostream>
#include <string>
#include <vector>
#include <malloc.h>
#include "DHCPConst.h"
#include "SmartPtr.h"
#include "Container.h"
#include "ClntParser.h"
#include "ClntParsGlobalOpt.h"
#include "ClntCfgIface.h"
#include "ClntCfgAddr.h"
#include "ClntCfgIA.h"
#include "ClntCfgTA.h"
#include "ClntCfgPD.h"
#include "ClntCfgMgr.h"
#include "Logger.h"
#include "OptGeneric.h"
#include "OptAddr.h"
#include "OptAddrLst.h"
#include "OptString.h"
#include "FlexLexer.h"
+ Include dependency graph for ClntParser.cpp:

Classes

class  ClntParser
struct  yy_ClntParser_stype::SDuid
union  yy_ClntParser_stype

Namespaces

namespace  std

Macros

#define __ALLOCA_alloca(size)   alloca(size)
#define __ALLOCA_free(ptr, ref)
#define __ALLOCA_return(num)   do { return(num); } while(0)
#define const
#define YY_ClntParser_BISON   1
#define YY_ClntParser_CONSTRUCTOR_CODE
#define YY_ClntParser_CONSTRUCTOR_INIT
#define YY_ClntParser_CONSTRUCTOR_PARAM   yyFlexLexer * lex
#define YY_ClntParser_h_included
#define YY_ClntParser_MEMBERS
#define YY_ClntParser_STYPE   yy_ClntParser_stype
#define YY_USE_CLASS
#define YY_USE_CLASS
#define YY_USE_CLASS
#define YYABORT   __ALLOCA_return(1)
#define YYACCEPT   __ALLOCA_return(0)
#define YYBACKUP(token, value)
#define YYBEGINDECLARELABEL
#define YYBEGINGOTO
#define YYBISON   1
#define yyclearin   (YY_ClntParser_CHAR = YYEMPTY)
#define YYDECLARELABEL(lb)
#define YYEMPTY   -2
#define YYENDDECLARELABEL
#define YYENDGOTO
#define YYEOF   0
#define YYERRCODE   256
#define yyerrok   (yyerrstatus = 0)
#define YYERROR   YYGOTO(yyerrlab1)
#define YYFAIL   YYGOTO(yyerrlab)
#define YYFINAL   311
#define YYFLAG   -32768
#define YYGOTO(lb)   goto lb
#define YYINITDEPTH   200
#define YYLABEL(lb)   lb:
#define YYLAST   354
#define YYLEX   YY_ClntParser_LEX()
#define YYMAXDEPTH   10000
#define YYNTBASE   89
#define YYPOPSTACK   (yyvsp--, yyssp--)
#define YYRECOVERING()   (!!yyerrstatus)
#define YYTERROR   1
#define YYTRANSLATE(x)   ((unsigned)(x) <= 338 ? yytranslate[x] : 194)

Functions

static void __yy_bcopy (from, to, count) char *from
 while (i-- > 0)*t++

Variables

int count
register char * f = from
register int i = count
register char * t = to
char * to
static short yycheck []
static short yydefact []
static short yydefgoto []
static short yypact []
static short yypgoto []
static short yyprhs []
static short yyr1 []
static short yyr2 []
static short yyrhs []
static short yyrline []
static short yytable []
static char * yytname []
static char yytranslate []

Macro Definition Documentation

#define __ALLOCA_alloca (   size)    alloca(size)
#define __ALLOCA_free (   ptr,
  ref 
)
#define __ALLOCA_return (   num)    do { return(num); } while(0)
#define const
#define YY_ClntParser_BISON   1
#define YY_ClntParser_CONSTRUCTOR_CODE
Value:
Lex_ = lex; \
ParserOptStack.append(new TClntParsGlobalOpt()); \
ParserOptStack.getFirst()->setIAIDCnt(1); \
ParserOptStack.getLast(); \
DUIDType = DUID_TYPE_NOT_DEFINED; \
DUIDEnterpriseID.reset(); \
AddrCount_ = 0; \
CfgMgr = 0; \
iaidSet = false; \
iaid = 0xffffffff; \
DUIDEnterpriseNumber = -1; \
yynerrs = 0; \
yychar = 0;
#define YY_ClntParser_CONSTRUCTOR_INIT
#define YY_ClntParser_CONSTRUCTOR_PARAM   yyFlexLexer * lex
#define YY_ClntParser_h_included
#define YY_ClntParser_MEMBERS
#define YY_ClntParser_STYPE   yy_ClntParser_stype
#define YY_USE_CLASS
#define YY_USE_CLASS
#define YY_USE_CLASS
#define YYABORT   __ALLOCA_return(1)
#define YYACCEPT   __ALLOCA_return(0)
#define YYBACKUP (   token,
  value 
)
Value:
if (YY_ClntParser_CHAR == YYEMPTY && yylen == 1) \
{ YY_ClntParser_CHAR = (token), YY_ClntParser_LVAL = (value); \
yychar1 = YYTRANSLATE (YY_ClntParser_CHAR); \
YYPOPSTACK; \
YYGOTO(yybackup); \
} \
else \
{ YY_ClntParser_ERROR ("syntax error: cannot back up"); YYERROR; } \
while (0)
#define YYBEGINDECLARELABEL
#define YYBEGINGOTO
#define YYBISON   1
#define yyclearin   (YY_ClntParser_CHAR = YYEMPTY)
#define YYDECLARELABEL (   lb)
#define YYEMPTY   -2
#define YYENDDECLARELABEL
#define YYENDGOTO
#define YYEOF   0
#define YYERRCODE   256
#define yyerrok   (yyerrstatus = 0)
#define YYERROR   YYGOTO(yyerrlab1)
#define YYFAIL   YYGOTO(yyerrlab)
#define YYFINAL   311
#define YYFLAG   -32768
#define YYGOTO (   lb)    goto lb
#define YYINITDEPTH   200
#define YYLABEL (   lb)    lb:
#define YYLAST   354
#define YYLEX   YY_ClntParser_LEX()
#define YYMAXDEPTH   10000
#define YYNTBASE   89
#define YYPOPSTACK   (yyvsp--, yyssp--)
#define YYRECOVERING ( )    (!!yyerrstatus)
#define YYTERROR   1
#define YYTRANSLATE (   x)    ((unsigned)(x) <= 338 ? yytranslate[x] : 194)

Function Documentation

static void __yy_bcopy ( from  ,
to  ,
count   
)
static
while ( i--  ,
 
)

Variable Documentation

int count
register char* f = from
register int i = count
register char* t = to
char* to
short yycheck[]
static
short yydefact[]
static
short yydefgoto[]
static
Initial value:
{ 309,
39, 40, 41, 42, 43, 134, 44, 188, 190, 214,
215, 244, 272, 255, 256, 216, 241, 253, 251, 252,
280, 288, 291, 289, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 138, 56, 57, 58, 59,
185, 186, 60, 61, 62, 63, 64, 108, 65, 109,
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
76, 77, 78, 217, 246, 263, 260, 261, 262, 286,
306, 295, 296, 79, 80, 154, 193, 175, 127, 81,
156, 82, 158, 83, 157, 84, 85, 160, 86, 161,
87, 88, 89, 162, 90, 163, 91, 92, 93, 94,
169, 95, 96, 203
}
short yypact[]
static
short yypgoto[]
static
Initial value:
{-32768,
-32768, 305, 32, 1,-32768,-32768, 306,-32768,-32768, 157,
-105,-32768,-32768,-32768, 93, -56,-32768,-32768, 96, -228,
-32768,-32768,-32768, -86, 30,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768, 142,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768, -94,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
2, 24, 36, -51,-32768,-32768, 83, -201,-32768,-32768,
-32768, 46, -150,-32768,-32768, 245, 18, 45, -1,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768
}
short yyprhs[]
static
Initial value:
{ 0,
0, 2, 3, 5, 7, 10, 13, 15, 17, 19,
21, 23, 25, 27, 29, 31, 33, 35, 37, 39,
41, 43, 45, 47, 49, 51, 53, 55, 57, 59,
61, 63, 65, 67, 69, 71, 73, 75, 77, 79,
81, 83, 85, 87, 89, 91, 93, 95, 97, 99,
101, 103, 105, 107, 109, 111, 113, 115, 117, 119,
120, 124, 125, 132, 133, 140, 145, 150, 154, 158,
160, 163, 165, 168, 170, 173, 175, 178, 180, 181,
182, 189, 193, 196, 198, 201, 202, 208, 209, 216,
220, 222, 225, 227, 230, 232, 235, 237, 240, 243,
244, 250, 251, 258, 259, 266, 268, 271, 273, 275,
278, 281, 284, 287, 290, 293, 298, 300, 303, 305,
308, 311, 312, 316, 319, 322, 324, 327, 330, 332,
336, 338, 340, 342, 344, 346, 348, 350, 352, 354,
356, 358, 360, 361, 365, 366, 370, 373, 376, 379,
381, 383, 385, 387, 390, 393, 396, 399, 402, 405,
407, 411, 412, 418, 421, 422, 429, 431, 434, 436,
438, 440, 445, 447, 451, 452, 458, 459, 468, 470,
473, 475, 477, 480, 483, 485, 487, 491, 495, 497,
501, 503, 507, 509, 511, 514, 515, 520, 523, 524,
529, 532, 533, 538, 541, 545, 548, 549, 554, 557,
558, 563, 566, 570, 574, 577, 578, 583, 586, 587,
592, 595, 599, 602, 606, 609, 612, 616, 618, 622,
626, 632, 635, 640, 645, 646, 652, 657, 661, 665,
669
}
short yyr1[]
static
Initial value:
{ 0,
89, 89, 90, 90, 90, 90, 91, 91, 91, 91,
91, 91, 91, 91, 91, 91, 91, 91, 91, 91,
91, 91, 91, 91, 91, 91, 91, 91, 91, 91,
91, 92, 92, 92, 92, 92, 92, 92, 92, 92,
92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
92, 92, 92, 92, 93, 93, 93, 93, 93, 95,
94, 97, 96, 98, 96, 96, 96, 96, 96, 99,
99, 99, 99, 99, 99, 99, 99, 100, 101, 102,
100, 100, 103, 103, 104, 106, 105, 107, 105, 105,
105, 105, 108, 108, 108, 108, 109, 109, 109, 110,
109, 111, 109, 112, 109, 113, 113, 114, 114, 115,
116, 117, 118, 119, 119, 119, 120, 121, 122, 122,
123, 125, 124, 126, 127, 127, 128, 129, 130, 130,
131, 131, 131, 131, 131, 131, 131, 131, 132, 133,
134, 135, 137, 136, 139, 138, 140, 141, 142, 143,
144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
153, 154, 153, 153, 155, 153, 156, 156, 157, 157,
157, 158, 158, 158, 159, 158, 160, 158, 161, 161,
162, 162, 163, 164, 165, 165, 165, 165, 166, 166,
167, 167, 168, 168, 169, 170, 169, 171, 172, 171,
173, 174, 173, 175, 175, 176, 177, 176, 178, 179,
178, 180, 180, 181, 182, 183, 182, 184, 185, 184,
186, 186, 187, 187, 188, 189, 189, 190, 190, 190,
190, 191, 192, 192, 193, 192, 192, 192, 192, 192,
192
}
short yyr2[]
static
Initial value:
{ 0,
1, 0, 1, 1, 2, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
3, 0, 6, 0, 6, 4, 4, 3, 3, 1,
2, 1, 2, 1, 2, 1, 2, 1, 0, 0,
6, 3, 2, 1, 2, 0, 5, 0, 6, 3,
1, 2, 1, 2, 1, 2, 1, 2, 2, 0,
5, 0, 6, 0, 6, 1, 2, 1, 1, 2,
2, 2, 2, 2, 2, 4, 1, 2, 1, 2,
2, 0, 3, 2, 2, 1, 2, 2, 1, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 0, 3, 0, 3, 2, 2, 2, 1,
1, 1, 1, 2, 2, 2, 2, 2, 2, 1,
3, 0, 5, 2, 0, 6, 1, 2, 1, 1,
1, 4, 1, 3, 0, 5, 0, 8, 1, 2,
1, 1, 2, 2, 1, 1, 3, 3, 1, 3,
1, 3, 1, 1, 2, 0, 4, 2, 0, 4,
2, 0, 4, 2, 3, 2, 0, 4, 2, 0,
4, 2, 3, 3, 2, 0, 4, 2, 0, 4,
2, 3, 2, 3, 2, 2, 3, 1, 3, 3,
5, 2, 4, 4, 0, 5, 4, 3, 3, 3,
3
}
short yyrhs[]
static
short yyrline[]
static
Initial value:
{ 0,
145, 146, 150, 151, 152, 153, 157, 158, 159, 160,
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
181, 185, 186, 187, 188, 189, 190, 191, 192, 193,
194, 195, 196, 197, 198, 199, 200, 201, 202, 203,
204, 205, 206, 207, 211, 212, 213, 214, 215, 219,
221, 229, 234, 244, 251, 260, 272, 283, 296, 310,
311, 312, 313, 314, 315, 316, 317, 324, 333, 344,
349, 349, 361, 362, 366, 378, 384, 389, 396, 406,
417, 425, 438, 439, 440, 441, 454, 460, 466, 474,
485, 492, 503, 513, 521, 533, 534, 538, 539, 543,
553, 558, 563, 569, 570, 571, 579, 601, 608, 616,
639, 645, 648, 658, 680, 688, 691, 707, 716, 717,
721, 722, 723, 724, 725, 726, 727, 728, 732, 738,
744, 750, 757, 762, 768, 771, 777, 783, 790, 797,
808, 824, 831, 838, 845, 862, 870, 877, 884, 891,
899, 907, 914, 918, 927, 934, 942, 943, 947, 948,
949, 955, 962, 969, 976, 979, 987, 994, 1001, 1002,
1006, 1007, 1011, 1029, 1046, 1050, 1054, 1058, 1065, 1066,
1070, 1071, 1074, 1075, 1082, 1088, 1092, 1101, 1106, 1109,
1118, 1124, 1127, 1136, 1140, 1150, 1156, 1159, 1168, 1173,
1176, 1185, 1194, 1201, 1216, 1222, 1225, 1234, 1240, 1243,
1252, 1256, 1267, 1271, 1281, 1292, 1297, 1305, 1306, 1307,
1308, 1312, 1319, 1326, 1335, 1340, 1346, 1353, 1359, 1366,
1372
}
short yytable[]
static
char* yytname[]
static
char yytranslate[]
static