Skip to content

Commit

Permalink
Merge pull request #143 from appneta/quick_tx_module
Browse files Browse the repository at this point in the history
Quick tx module
  • Loading branch information
fklassen committed Oct 14, 2014
2 parents 8b926b6 + 4fb95b4 commit a9b8896
Show file tree
Hide file tree
Showing 17 changed files with 46 additions and 24 deletions.
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
46 changes: 25 additions & 21 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ LPCAPINC
DMALLOC_LIB
timestamp_trace_flag
extra_debug_flag
debug_run_time_flag
debug_flag
WORDS_BIGENDIAN_FALSE
WORDS_BIGENDIAN_TRUE
Expand Down Expand Up @@ -5344,13 +5345,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
(eval echo "\"\$as_me:5347: $ac_compile\"" >&5)
(eval echo "\"\$as_me:5348: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
(eval echo "\"\$as_me:5350: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval echo "\"\$as_me:5351: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
(eval echo "\"\$as_me:5353: output\"" >&5)
(eval echo "\"\$as_me:5354: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
Expand Down Expand Up @@ -6556,7 +6557,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 6559 "configure"' > conftest.$ac_ext
echo '#line 6560 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
Expand Down Expand Up @@ -8082,11 +8083,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:8085: $lt_compile\"" >&5)
(eval echo "\"\$as_me:8086: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:8089: \$? = $ac_status" >&5
echo "$as_me:8090: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
Expand Down Expand Up @@ -8421,11 +8422,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:8424: $lt_compile\"" >&5)
(eval echo "\"\$as_me:8425: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:8428: \$? = $ac_status" >&5
echo "$as_me:8429: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
Expand Down Expand Up @@ -8526,11 +8527,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:8529: $lt_compile\"" >&5)
(eval echo "\"\$as_me:8530: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:8533: \$? = $ac_status" >&5
echo "$as_me:8534: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
Expand Down Expand Up @@ -8581,11 +8582,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:8584: $lt_compile\"" >&5)
(eval echo "\"\$as_me:8585: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:8588: \$? = $ac_status" >&5
echo "$as_me:8589: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
Expand Down Expand Up @@ -10965,7 +10966,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 10968 "configure"
#line 10969 "configure"
#include "confdefs.h"

#if HAVE_DLFCN_H
Expand Down Expand Up @@ -11061,7 +11062,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11064 "configure"
#line 11065 "configure"
#include "confdefs.h"

#if HAVE_DLFCN_H
Expand Down Expand Up @@ -14366,11 +14367,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:14369: $lt_compile\"" >&5)
(eval echo "\"\$as_me:14370: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:14373: \$? = $ac_status" >&5
echo "$as_me:14374: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
Expand Down Expand Up @@ -14465,11 +14466,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:14468: $lt_compile\"" >&5)
(eval echo "\"\$as_me:14469: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:14472: \$? = $ac_status" >&5
echo "$as_me:14473: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
Expand Down Expand Up @@ -14517,11 +14518,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:14520: $lt_compile\"" >&5)
(eval echo "\"\$as_me:14521: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:14524: \$? = $ac_status" >&5
echo "$as_me:14525: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
Expand Down Expand Up @@ -18614,7 +18615,8 @@ fi


debug=no
debug_flag=NDBUG
debug_flag=NDEBUG
debug_run_time_flag=
# Check whether --enable-debug was given.
if test "${enable_debug+set}" = set; then :
enableval=$enable_debug; if test x$enableval = xyes; then
Expand All @@ -18623,6 +18625,7 @@ if test "${enable_debug+set}" = set; then :
# We may also want to add:
# -Wformat-security -Wswitch-default -Wunused-paramter -Wpadded"
debug_flag=DEBUG
debug_run_time_flag=--dbug=1

$as_echo "#define DEBUG 1" >>confdefs.h

Expand All @@ -18631,6 +18634,7 @@ fi




extra_debug=no
extra_debug_flag=NEXTRA_DBUG
# Check whether --enable-extra-debug was given.
Expand Down
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ AM_CONDITIONAL([WORDS_BIGENDIAN], [ test x$ac_cv_c_bigendian = xyes ])

dnl Enable debugging in code/compiler options
debug=no
debug_flag=NDBUG
debug_flag=NDEBUG
debug_run_time_flag=
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug], [Enable debugging code and support for the -d option]),
[ if test x$enableval = xyes; then
Expand All @@ -251,9 +252,11 @@ AC_ARG_ENABLE(debug,
# We may also want to add:
# -Wformat-security -Wswitch-default -Wunused-paramter -Wpadded"
debug_flag=DEBUG
debug_run_time_flag=--dbug=1
AC_DEFINE([DEBUG], [1], [Enable debugging code and support for the -d option])
fi])
AC_SUBST(debug_flag)
AC_SUBST(debug_run_time_flag)

dnl Enable extra debugging in code/compiler options - may slow down performance
extra_debug=no
Expand Down
1 change: 1 addition & 0 deletions docs/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions kernel/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions kernel/linux/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions kernel/linux/example/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions kernel/linux/quick_tx/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions lib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions libopts/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions scripts/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions src/common/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions src/fragroute/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
1 change: 1 addition & 0 deletions src/tcpedit/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down
3 changes: 2 additions & 1 deletion test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ TARGET = @target@
BUILD = @build@
nic1 = @nic1@
nic2 = @nic2@
ENABLE_DEBUG = @debug_flag@

ENABLE_DEBUG = @debug_run_time_flag@
TCPPREP=../src/tcpprep --no-arg-comment
TCPREPLAY=../src/tcpreplay
TCPREWRITE=../src/tcprewrite
Expand Down
3 changes: 2 additions & 1 deletion test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
debug_run_time_flag = @debug_run_time_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
Expand Down Expand Up @@ -218,7 +219,7 @@ MAKEFLAGS = -s -k
HOST = @host@
TARGET = @target@
BUILD = @build@
ENABLE_DEBUG = @debug_flag@
ENABLE_DEBUG = @debug_run_time_flag@
TCPPREP = ../src/tcpprep --no-arg-comment
TCPREPLAY = ../src/tcpreplay
TCPREWRITE = ../src/tcprewrite
Expand Down

0 comments on commit a9b8896

Please sign in to comment.