Changeset e2b0232 for libpacketdump
- Timestamp:
- 08/28/06 14:47:52 (15 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 4a4cc39
- Parents:
- 90fd6b6
- Location:
- libpacketdump
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
libpacketdump/Makefile.am
r9e528f6 re2b0232 99 99 ip_132_la_LDFLAGS=-module 100 100 101 SUBDIRS = parser 102 103 libpacketdump_la_SOURCES = libpacketdump.cc $(BIN_PROTOCOLS) 101 libpacketdump_la_SOURCES = libpacketdump.cc \ 102 parser/lexer.l \ 103 parser/parser.y \ 104 parser/bitbuffer.c \ 105 parser/bitbuffer.h \ 106 parser/grammer.h 104 107 105 108 plugin_LTLIBRARIES = $(BIN_PROTOCOLS) … … 107 110 108 111 INCLUDES= @ADD_INCLS@ -I../lib -I../ 109 libpacketdump_la_LIBADD = @ADD_LIBS@ -lparser112 libpacketdump_la_LIBADD = @ADD_LIBS@ 110 113 libpacketdump_la_LDFLAGS=\ 111 114 -version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@ \ … … 115 118 AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(plugindir)\" $(INCLUDES) 116 119 120 EXTRA_DIST=lexer.l parser.y 121 BUILT_SOURCES=parser.h 122 AM_YFLAGS=-d -
libpacketdump/parser/lexer.l
r9461526 re2b0232 5 5 %{ 6 6 #include <stdio.h> 7 #include " grammar.h"8 #include "parser .h"7 #include "parser/grammar.h" 8 #include "parser/parser.h" 9 9 10 10 int yylex(void); -
libpacketdump/parser/parser.h
r9d6b5cd re2b0232 1 /* A Bison parser, made by GNU Bison 1.875d. */1 /* A Bison parser, made by GNU Bison 2.1. */ 2 2 3 3 /* Skeleton parser for Yacc-like parsing with Bison, 4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 5 6 6 This program is free software; you can redistribute it and/or modify … … 16 16 You should have received a copy of the GNU General Public License 17 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 5 9 Temple Place - Suite 330,19 Boston, MA 0211 1-1307, USA. */18 Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 Boston, MA 02110-1301, USA. */ 20 20 21 21 /* As a special exception, when this file is copied by Bison into a … … 43 43 }; 44 44 #endif 45 /* Tokens. */ 45 46 #define TOK_BIGENDIAN 258 46 47 #define TOK_LITTLEENDIAN 259 … … 65 66 element_t *ptr; 66 67 } YYSTYPE; 67 /* Line 1 285of yacc.c. */68 #line 69"parser.h"68 /* Line 1447 of yacc.c. */ 69 #line 70 "parser.h" 69 70 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 70 71 # define YYSTYPE_IS_DECLARED 1 -
libpacketdump/parser/parser.y
r3dc2f61 re2b0232 7 7 #include <arpa/inet.h> 8 8 #include <assert.h> 9 #include " grammar.h"9 #include "parser/grammar.h" 10 10 #include "libpacketdump.h" 11 #include " bitbuffer.h"11 #include "parser/bitbuffer.h" 12 12 13 13 #define YYERROR_VERBOSE 1
Note: See TracChangeset
for help on using the changeset viewer.