Show
Ignore:
Timestamp:
03/12/13 14:22:33 (10 years ago)
Author:
andreu
Message:

first SMP imp

Location:
branches/renetcolSMP/src
Files:
7 added
3 modified

Legend:

Unmodified
Added
Removed
  • branches/renetcolSMP/src/Makefile.am

    r113 r164  
    1 bin_PROGRAMS = renetcol renetcolSender renetcolMsgCtl renetcolAgg 
    2 renetcol_SOURCES = renetcol.c template.c V9Header_mgmt.c msg_mgmt.c \ 
     1bin_PROGRAMS = renetcolSMP1 renetcolSMP2 renetcolSMP3 renetcolSMP4 renetcolSender renetcolMsgCtl renetcolAgg 
     2renetcolSMP1_SOURCES = renetcolSMP1.c \ 
     3        template.c V9Header_mgmt.c msg_mgmt.c \ 
    34        fields_mgmt.c routers_mgmt.c tplflset_mgmt.c headers_mgmt.c \ 
    4         renetcol.h template.h V9Header_mgmt.h msg_mgmt.h fields_mgmt.h \ 
     5        renetcolSMP1.h \ 
     6        template.h V9Header_mgmt.h msg_mgmt.h fields_mgmt.h \ 
     7        routers_mgmt.h tplflset_mgmt.h headers_mgmt.h dataFlowSet.c \ 
     8        dataFlowSet.h get_conf.c get_conf.h rules_mgmt.c rules_mgmt.h \ 
     9        remote_output.h remote_output.c prefix_mgmt.h prefix_mgmt.c \ 
     10        pop.h renetcolParam.h as.h as.c engine_mgmt.h renetcol_mib.h 
     11renetcolSMP2_SOURCES = renetcolSMP2.c \ 
     12        template.c V9Header_mgmt.c msg_mgmt.c \ 
     13        fields_mgmt.c routers_mgmt.c tplflset_mgmt.c headers_mgmt.c \ 
     14        renetcolSMP2.h \ 
     15        template.h V9Header_mgmt.h msg_mgmt.h fields_mgmt.h \ 
     16        routers_mgmt.h tplflset_mgmt.h headers_mgmt.h dataFlowSet.c \ 
     17        dataFlowSet.h get_conf.c get_conf.h rules_mgmt.c rules_mgmt.h \ 
     18        remote_output.h remote_output.c prefix_mgmt.h prefix_mgmt.c \ 
     19        pop.h renetcolParam.h as.h as.c engine_mgmt.h renetcol_mib.h 
     20renetcolSMP3_SOURCES = renetcolSMP3.c \ 
     21        template.c V9Header_mgmt.c msg_mgmt.c \ 
     22        fields_mgmt.c routers_mgmt.c tplflset_mgmt.c headers_mgmt.c \ 
     23        renetcolSMP3.h \ 
     24        template.h V9Header_mgmt.h msg_mgmt.h fields_mgmt.h \ 
     25        routers_mgmt.h tplflset_mgmt.h headers_mgmt.h dataFlowSet.c \ 
     26        dataFlowSet.h get_conf.c get_conf.h rules_mgmt.c rules_mgmt.h \ 
     27        remote_output.h remote_output.c prefix_mgmt.h prefix_mgmt.c \ 
     28        pop.h renetcolParam.h as.h as.c engine_mgmt.h renetcol_mib.h 
     29renetcolSMP4_SOURCES = renetcolSMP4.c \ 
     30        template.c V9Header_mgmt.c msg_mgmt.c \ 
     31        fields_mgmt.c routers_mgmt.c tplflset_mgmt.c headers_mgmt.c \ 
     32        renetcolSMP4.h \ 
     33        template.h V9Header_mgmt.h msg_mgmt.h fields_mgmt.h \ 
    534        routers_mgmt.h tplflset_mgmt.h headers_mgmt.h dataFlowSet.c \ 
    635        dataFlowSet.h get_conf.c get_conf.h rules_mgmt.c rules_mgmt.h \ 
     
    1443renetcolAgg_SOURCES = renetcolAgg.c renetcolAgg.h pop.h renetcolParam.h as.h \ 
    1544        engine_mgmt.h renetcol_mib.h 
    16 BUILT_SOURCES = renetcol.o renetcolSender.o renetcolAgg.o 
    17 renetcol_LDADD = -ldl -lc_p 
     45BUILT_SOURCES = renetcolSMP1.o renetcolSMP2.o renetcolSMP3.o renetcolSMP4.o renetcolSender.o renetcolAgg.o 
     46renetcolSMP1_LDADD = -ldl -lc_p 
     47renetcolSMP2_LDADD = -ldl -lc_p 
     48renetcolSMP3_LDADD = -ldl -lc_p 
     49renetcolSMP4_LDADD = -ldl -lc_p 
    1850renetcolSender_LDADD = -ldl -lc_p 
    1951renetcolAgg_LDADD = -ldl -lrrd 
     
    2153.PHONY: clean 
    2254clean: 
    23         rm -f renetcol renetcolSender renetcolMsgCtl renetcolAgg *.o 
     55        rm -f renetcolSMP1 renetcolSMP2 renetcolSMP3 renetcolSMP4 renetcolSender renetcolMsgCtl renetcolAgg *.o 
  • branches/renetcolSMP/src/Makefile.in

    r20 r164  
    1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 
     1# Makefile.in generated by automake 1.11.1 from Makefile.am. 
    22# @configure_input@ 
    33 
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
    5 # 2003, 2004, 2005  Free Software Foundation, Inc. 
     5# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation, 
     6# Inc. 
    67# This Makefile.in is free software; the Free Software Foundation 
    78# gives unlimited permission to copy and/or distribute it, 
     
    1516@SET_MAKE@ 
    1617 
    17 srcdir = @srcdir@ 
    18 top_srcdir = @top_srcdir@ 
    1918VPATH = @srcdir@ 
    2019pkgdatadir = $(datadir)/@PACKAGE@ 
     20pkgincludedir = $(includedir)/@PACKAGE@ 
    2121pkglibdir = $(libdir)/@PACKAGE@ 
    22 pkgincludedir = $(includedir)/@PACKAGE@ 
    23 top_builddir = .. 
     22pkglibexecdir = $(libexecdir)/@PACKAGE@ 
    2423am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 
    25 INSTALL = @INSTALL@ 
    2624install_sh_DATA = $(install_sh) -c -m 644 
    2725install_sh_PROGRAM = $(install_sh) -c 
     
    3533PRE_UNINSTALL = : 
    3634POST_UNINSTALL = : 
    37 bin_PROGRAMS = renetcol$(EXEEXT) renetcolSender$(EXEEXT) \ 
    38         renetcolMsgCtl$(EXEEXT) 
     35bin_PROGRAMS = renetcolSMP1$(EXEEXT) renetcolSMP2$(EXEEXT) \ 
     36        renetcolSMP3$(EXEEXT) renetcolSMP4$(EXEEXT) \ 
     37        renetcolSender$(EXEEXT) renetcolMsgCtl$(EXEEXT) \ 
     38        renetcolAgg$(EXEEXT) 
    3939subdir = src 
    4040DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 
     
    4646CONFIG_HEADER = $(top_builddir)/config.h 
    4747CONFIG_CLEAN_FILES = 
     48CONFIG_CLEAN_VPATH_FILES = 
    4849am__installdirs = "$(DESTDIR)$(bindir)" 
    49 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 
    5050PROGRAMS = $(bin_PROGRAMS) 
    51 am_renetcol_OBJECTS = renetcol.$(OBJEXT) template.$(OBJEXT) \ 
     51am_renetcolAgg_OBJECTS = renetcolAgg.$(OBJEXT) 
     52renetcolAgg_OBJECTS = $(am_renetcolAgg_OBJECTS) 
     53renetcolAgg_DEPENDENCIES = 
     54am_renetcolMsgCtl_OBJECTS = renetcolMsgCtl.$(OBJEXT) 
     55renetcolMsgCtl_OBJECTS = $(am_renetcolMsgCtl_OBJECTS) 
     56renetcolMsgCtl_LDADD = $(LDADD) 
     57am_renetcolSMP1_OBJECTS = renetcolSMP1.$(OBJEXT) template.$(OBJEXT) \ 
    5258        V9Header_mgmt.$(OBJEXT) msg_mgmt.$(OBJEXT) \ 
    5359        fields_mgmt.$(OBJEXT) routers_mgmt.$(OBJEXT) \ 
    5460        tplflset_mgmt.$(OBJEXT) headers_mgmt.$(OBJEXT) \ 
    5561        dataFlowSet.$(OBJEXT) get_conf.$(OBJEXT) rules_mgmt.$(OBJEXT) \ 
    56         remote_output.$(OBJEXT) 
    57 renetcol_OBJECTS = $(am_renetcol_OBJECTS) 
    58 renetcol_DEPENDENCIES = 
    59 am_renetcolMsgCtl_OBJECTS = renetcolMsgCtl.$(OBJEXT) 
    60 renetcolMsgCtl_OBJECTS = $(am_renetcolMsgCtl_OBJECTS) 
    61 renetcolMsgCtl_LDADD = $(LDADD) 
     62        remote_output.$(OBJEXT) prefix_mgmt.$(OBJEXT) as.$(OBJEXT) 
     63renetcolSMP1_OBJECTS = $(am_renetcolSMP1_OBJECTS) 
     64renetcolSMP1_DEPENDENCIES = 
     65am_renetcolSMP2_OBJECTS = renetcolSMP2.$(OBJEXT) template.$(OBJEXT) \ 
     66        V9Header_mgmt.$(OBJEXT) msg_mgmt.$(OBJEXT) \ 
     67        fields_mgmt.$(OBJEXT) routers_mgmt.$(OBJEXT) \ 
     68        tplflset_mgmt.$(OBJEXT) headers_mgmt.$(OBJEXT) \ 
     69        dataFlowSet.$(OBJEXT) get_conf.$(OBJEXT) rules_mgmt.$(OBJEXT) \ 
     70        remote_output.$(OBJEXT) prefix_mgmt.$(OBJEXT) as.$(OBJEXT) 
     71renetcolSMP2_OBJECTS = $(am_renetcolSMP2_OBJECTS) 
     72renetcolSMP2_DEPENDENCIES = 
     73am_renetcolSMP3_OBJECTS = renetcolSMP3.$(OBJEXT) template.$(OBJEXT) \ 
     74        V9Header_mgmt.$(OBJEXT) msg_mgmt.$(OBJEXT) \ 
     75        fields_mgmt.$(OBJEXT) routers_mgmt.$(OBJEXT) \ 
     76        tplflset_mgmt.$(OBJEXT) headers_mgmt.$(OBJEXT) \ 
     77        dataFlowSet.$(OBJEXT) get_conf.$(OBJEXT) rules_mgmt.$(OBJEXT) \ 
     78        remote_output.$(OBJEXT) prefix_mgmt.$(OBJEXT) as.$(OBJEXT) 
     79renetcolSMP3_OBJECTS = $(am_renetcolSMP3_OBJECTS) 
     80renetcolSMP3_DEPENDENCIES = 
     81am_renetcolSMP4_OBJECTS = renetcolSMP4.$(OBJEXT) template.$(OBJEXT) \ 
     82        V9Header_mgmt.$(OBJEXT) msg_mgmt.$(OBJEXT) \ 
     83        fields_mgmt.$(OBJEXT) routers_mgmt.$(OBJEXT) \ 
     84        tplflset_mgmt.$(OBJEXT) headers_mgmt.$(OBJEXT) \ 
     85        dataFlowSet.$(OBJEXT) get_conf.$(OBJEXT) rules_mgmt.$(OBJEXT) \ 
     86        remote_output.$(OBJEXT) prefix_mgmt.$(OBJEXT) as.$(OBJEXT) 
     87renetcolSMP4_OBJECTS = $(am_renetcolSMP4_OBJECTS) 
     88renetcolSMP4_DEPENDENCIES = 
    6289am_renetcolSender_OBJECTS = renetcolSender.$(OBJEXT) \ 
    6390        msg_mgmt.$(OBJEXT) rules_mgmt.$(OBJEXT) \ 
    64         remote_output.$(OBJEXT) fields_mgmt.$(OBJEXT) 
     91        remote_output.$(OBJEXT) fields_mgmt.$(OBJEXT) as.$(OBJEXT) 
    6592renetcolSender_OBJECTS = $(am_renetcolSender_OBJECTS) 
    6693renetcolSender_DEPENDENCIES = 
    67 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 
     94DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 
    6895depcomp = $(SHELL) $(top_srcdir)/depcomp 
    6996am__depfiles_maybe = depfiles 
     97am__mv = mv -f 
    7098COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 
    7199        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 
    72100CCLD = $(CC) 
    73101LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 
    74 SOURCES = $(renetcol_SOURCES) $(renetcolMsgCtl_SOURCES) \ 
     102SOURCES = $(renetcolAgg_SOURCES) $(renetcolMsgCtl_SOURCES) \ 
     103        $(renetcolSMP1_SOURCES) $(renetcolSMP2_SOURCES) \ 
     104        $(renetcolSMP3_SOURCES) $(renetcolSMP4_SOURCES) \ 
    75105        $(renetcolSender_SOURCES) 
    76 DIST_SOURCES = $(renetcol_SOURCES) $(renetcolMsgCtl_SOURCES) \ 
     106DIST_SOURCES = $(renetcolAgg_SOURCES) $(renetcolMsgCtl_SOURCES) \ 
     107        $(renetcolSMP1_SOURCES) $(renetcolSMP2_SOURCES) \ 
     108        $(renetcolSMP3_SOURCES) $(renetcolSMP4_SOURCES) \ 
    77109        $(renetcolSender_SOURCES) 
    78110ETAGS = etags 
     
    80112DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 
    81113ACLOCAL = @ACLOCAL@ 
    82 AMDEP_FALSE = @AMDEP_FALSE@ 
    83 AMDEP_TRUE = @AMDEP_TRUE@ 
    84114AMTAR = @AMTAR@ 
    85115AUTOCONF = @AUTOCONF@ 
     
    101131EXEEXT = @EXEEXT@ 
    102132GREP = @GREP@ 
     133INSTALL = @INSTALL@ 
    103134INSTALL_DATA = @INSTALL_DATA@ 
    104135INSTALL_PROGRAM = @INSTALL_PROGRAM@ 
     
    110141LTLIBOBJS = @LTLIBOBJS@ 
    111142MAKEINFO = @MAKEINFO@ 
     143MKDIR_P = @MKDIR_P@ 
    112144OBJEXT = @OBJEXT@ 
    113145PACKAGE = @PACKAGE@ 
     
    116148PACKAGE_STRING = @PACKAGE_STRING@ 
    117149PACKAGE_TARNAME = @PACKAGE_TARNAME@ 
     150PACKAGE_URL = @PACKAGE_URL@ 
    118151PACKAGE_VERSION = @PACKAGE_VERSION@ 
    119152PATH_SEPARATOR = @PATH_SEPARATOR@ 
     
    122155STRIP = @STRIP@ 
    123156VERSION = @VERSION@ 
     157abs_builddir = @abs_builddir@ 
     158abs_srcdir = @abs_srcdir@ 
     159abs_top_builddir = @abs_top_builddir@ 
     160abs_top_srcdir = @abs_top_srcdir@ 
    124161ac_ct_CC = @ac_ct_CC@ 
    125 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 
    126 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 
    127162am__include = @am__include@ 
    128163am__leading_dot = @am__leading_dot@ 
     
    132167bindir = @bindir@ 
    133168build_alias = @build_alias@ 
     169builddir = @builddir@ 
    134170datadir = @datadir@ 
    135171datarootdir = @datarootdir@ 
     
    155191sbindir = @sbindir@ 
    156192sharedstatedir = @sharedstatedir@ 
     193srcdir = @srcdir@ 
    157194sysconfdir = @sysconfdir@ 
    158195target_alias = @target_alias@ 
    159 renetcol_SOURCES = renetcol.c template.c V9Header_mgmt.c msg_mgmt.c fields_mgmt.c \ 
    160                 routers_mgmt.c tplflset_mgmt.c headers_mgmt.c renetcol.h template.h \ 
    161                 V9Header_mgmt.h msg_mgmt.h fields_mgmt.h routers_mgmt.h \ 
    162                 tplflset_mgmt.h headers_mgmt.h dataFlowSet.c dataFlowSet.h \ 
    163                 get_conf.c get_conf.h rules_mgmt.c rules_mgmt.h \ 
    164                 remote_output.h remote_output.c 
    165  
    166 renetcolSender_SOURCES = renetcolSender.c renetcolSender.h msg_mgmt.h msg_mgmt.c \ 
    167                 rules_mgmt.c rules_mgmt.h remote_output.h remote_output.c \ 
    168                 fields_mgmt.h fields_mgmt.c 
     196top_build_prefix = @top_build_prefix@ 
     197top_builddir = @top_builddir@ 
     198top_srcdir = @top_srcdir@ 
     199renetcolSMP1_SOURCES = renetcolSMP1.c \ 
     200        template.c V9Header_mgmt.c msg_mgmt.c \ 
     201        fields_mgmt.c routers_mgmt.c tplflset_mgmt.c headers_mgmt.c \ 
     202        renetcolSMP1.h \ 
     203        template.h V9Header_mgmt.h msg_mgmt.h fields_mgmt.h \ 
     204        routers_mgmt.h tplflset_mgmt.h headers_mgmt.h dataFlowSet.c \ 
     205        dataFlowSet.h get_conf.c get_conf.h rules_mgmt.c rules_mgmt.h \ 
     206        remote_output.h remote_output.c prefix_mgmt.h prefix_mgmt.c \ 
     207        pop.h renetcolParam.h as.h as.c engine_mgmt.h renetcol_mib.h 
     208 
     209renetcolSMP2_SOURCES = renetcolSMP2.c \ 
     210        template.c V9Header_mgmt.c msg_mgmt.c \ 
     211        fields_mgmt.c routers_mgmt.c tplflset_mgmt.c headers_mgmt.c \ 
     212        renetcolSMP2.h \ 
     213        template.h V9Header_mgmt.h msg_mgmt.h fields_mgmt.h \ 
     214        routers_mgmt.h tplflset_mgmt.h headers_mgmt.h dataFlowSet.c \ 
     215        dataFlowSet.h get_conf.c get_conf.h rules_mgmt.c rules_mgmt.h \ 
     216        remote_output.h remote_output.c prefix_mgmt.h prefix_mgmt.c \ 
     217        pop.h renetcolParam.h as.h as.c engine_mgmt.h renetcol_mib.h 
     218 
     219renetcolSMP3_SOURCES = renetcolSMP3.c \ 
     220        template.c V9Header_mgmt.c msg_mgmt.c \ 
     221        fields_mgmt.c routers_mgmt.c tplflset_mgmt.c headers_mgmt.c \ 
     222        renetcolSMP3.h \ 
     223        template.h V9Header_mgmt.h msg_mgmt.h fields_mgmt.h \ 
     224        routers_mgmt.h tplflset_mgmt.h headers_mgmt.h dataFlowSet.c \ 
     225        dataFlowSet.h get_conf.c get_conf.h rules_mgmt.c rules_mgmt.h \ 
     226        remote_output.h remote_output.c prefix_mgmt.h prefix_mgmt.c \ 
     227        pop.h renetcolParam.h as.h as.c engine_mgmt.h renetcol_mib.h 
     228 
     229renetcolSMP4_SOURCES = renetcolSMP4.c \ 
     230        template.c V9Header_mgmt.c msg_mgmt.c \ 
     231        fields_mgmt.c routers_mgmt.c tplflset_mgmt.c headers_mgmt.c \ 
     232        renetcolSMP4.h \ 
     233        template.h V9Header_mgmt.h msg_mgmt.h fields_mgmt.h \ 
     234        routers_mgmt.h tplflset_mgmt.h headers_mgmt.h dataFlowSet.c \ 
     235        dataFlowSet.h get_conf.c get_conf.h rules_mgmt.c rules_mgmt.h \ 
     236        remote_output.h remote_output.c prefix_mgmt.h prefix_mgmt.c \ 
     237        pop.h renetcolParam.h as.h as.c engine_mgmt.h renetcol_mib.h 
     238 
     239renetcolSender_SOURCES = renetcolSender.c renetcolSender.h msg_mgmt.h \ 
     240        msg_mgmt.c rules_mgmt.c rules_mgmt.h remote_output.h \ 
     241        remote_output.c fields_mgmt.h fields_mgmt.c pop.h renetcolParam.h\ 
     242        as.h as.c engine_mgmt.h renetcol_mib.h 
    169243 
    170244renetcolMsgCtl_SOURCES = renetcolMsgCtl.c 
    171 BUILT_SOURCES = renetcol.o renetcolSender.o  
    172 renetcol_LDADD = -ldl -lc_p 
     245renetcolAgg_SOURCES = renetcolAgg.c renetcolAgg.h pop.h renetcolParam.h as.h \ 
     246        engine_mgmt.h renetcol_mib.h 
     247 
     248BUILT_SOURCES = renetcolSMP1.o renetcolSMP2.o renetcolSMP3.o renetcolSMP4.o renetcolSender.o renetcolAgg.o 
     249renetcolSMP1_LDADD = -ldl -lc_p 
     250renetcolSMP2_LDADD = -ldl -lc_p 
     251renetcolSMP3_LDADD = -ldl -lc_p 
     252renetcolSMP4_LDADD = -ldl -lc_p 
    173253renetcolSender_LDADD = -ldl -lc_p 
    174 AM_CFLAGS = -I/usr/local/include -ansi -Wall -D _SVID_SOURCE \ 
    175         -DSIGSETJMP_IS_BROKEN -fno-strict-aliasing \ 
    176         -D _XOPEN_SOURCE \ 
    177         -pedantic \ 
    178         -pg 
    179  
     254renetcolAgg_LDADD = -ldl -lrrd 
    180255all: $(BUILT_SOURCES) 
    181256        $(MAKE) $(AM_MAKEFLAGS) all-am 
     
    187262          case '$(am__configure_deps)' in \ 
    188263            *$$dep*) \ 
    189               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 
    190                 && exit 0; \ 
     264              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 
     265                && { if test -f $@; then exit 0; else break; fi; }; \ 
    191266              exit 1;; \ 
    192267          esac; \ 
    193268        done; \ 
    194         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \ 
    195         cd $(top_srcdir) && \ 
    196           $(AUTOMAKE) --gnu  src/Makefile 
     269        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ 
     270        $(am__cd) $(top_srcdir) && \ 
     271          $(AUTOMAKE) --gnu src/Makefile 
    197272.PRECIOUS: Makefile 
    198273Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 
     
    212287$(ACLOCAL_M4):  $(am__aclocal_m4_deps) 
    213288        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
     289$(am__aclocal_m4_deps): 
    214290install-binPROGRAMS: $(bin_PROGRAMS) 
    215291        @$(NORMAL_INSTALL) 
    216         test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 
    217         @list='$(bin_PROGRAMS)'; for p in $$list; do \ 
    218           p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 
    219           if test -f $$p \ 
    220           ; then \ 
    221             f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 
    222            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 
    223            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 
    224           else :; fi; \ 
    225         done 
     292        test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" 
     293        @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ 
     294        for p in $$list; do echo "$$p $$p"; done | \ 
     295        sed 's/$(EXEEXT)$$//' | \ 
     296        while read p p1; do if test -f $$p; \ 
     297          then echo "$$p"; echo "$$p"; else :; fi; \ 
     298        done | \ 
     299        sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ 
     300            -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ 
     301        sed 'N;N;N;s,\n, ,g' | \ 
     302        $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ 
     303          { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ 
     304            if ($$2 == $$4) files[d] = files[d] " " $$1; \ 
     305            else { print "f", $$3 "/" $$4, $$1; } } \ 
     306          END { for (d in files) print "f", d, files[d] }' | \ 
     307        while read type dir files; do \ 
     308            if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ 
     309            test -z "$$files" || { \ 
     310              echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ 
     311              $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ 
     312            } \ 
     313        ; done 
    226314 
    227315uninstall-binPROGRAMS: 
    228316        @$(NORMAL_UNINSTALL) 
    229         @list='$(bin_PROGRAMS)'; for p in $$list; do \ 
    230           f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 
    231           echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 
    232           rm -f "$(DESTDIR)$(bindir)/$$f"; \ 
    233         done 
     317        @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ 
     318        files=`for p in $$list; do echo "$$p"; done | \ 
     319          sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ 
     320              -e 's/$$/$(EXEEXT)/' `; \ 
     321        test -n "$$list" || exit 0; \ 
     322        echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ 
     323        cd "$(DESTDIR)$(bindir)" && rm -f $$files 
    234324 
    235325clean-binPROGRAMS: 
    236326        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 
    237 renetcol$(EXEEXT): $(renetcol_OBJECTS) $(renetcol_DEPENDENCIES)  
    238         @rm -f renetcol$(EXEEXT) 
    239         $(LINK) $(renetcol_LDFLAGS) $(renetcol_OBJECTS) $(renetcol_LDADD) $(LIBS) 
     327renetcolAgg$(EXEEXT): $(renetcolAgg_OBJECTS) $(renetcolAgg_DEPENDENCIES)  
     328        @rm -f renetcolAgg$(EXEEXT) 
     329        $(LINK) $(renetcolAgg_OBJECTS) $(renetcolAgg_LDADD) $(LIBS) 
    240330renetcolMsgCtl$(EXEEXT): $(renetcolMsgCtl_OBJECTS) $(renetcolMsgCtl_DEPENDENCIES)  
    241331        @rm -f renetcolMsgCtl$(EXEEXT) 
    242         $(LINK) $(renetcolMsgCtl_LDFLAGS) $(renetcolMsgCtl_OBJECTS) $(renetcolMsgCtl_LDADD) $(LIBS) 
     332        $(LINK) $(renetcolMsgCtl_OBJECTS) $(renetcolMsgCtl_LDADD) $(LIBS) 
     333renetcolSMP1$(EXEEXT): $(renetcolSMP1_OBJECTS) $(renetcolSMP1_DEPENDENCIES)  
     334        @rm -f renetcolSMP1$(EXEEXT) 
     335        $(LINK) $(renetcolSMP1_OBJECTS) $(renetcolSMP1_LDADD) $(LIBS) 
     336renetcolSMP2$(EXEEXT): $(renetcolSMP2_OBJECTS) $(renetcolSMP2_DEPENDENCIES)  
     337        @rm -f renetcolSMP2$(EXEEXT) 
     338        $(LINK) $(renetcolSMP2_OBJECTS) $(renetcolSMP2_LDADD) $(LIBS) 
     339renetcolSMP3$(EXEEXT): $(renetcolSMP3_OBJECTS) $(renetcolSMP3_DEPENDENCIES)  
     340        @rm -f renetcolSMP3$(EXEEXT) 
     341        $(LINK) $(renetcolSMP3_OBJECTS) $(renetcolSMP3_LDADD) $(LIBS) 
     342renetcolSMP4$(EXEEXT): $(renetcolSMP4_OBJECTS) $(renetcolSMP4_DEPENDENCIES)  
     343        @rm -f renetcolSMP4$(EXEEXT) 
     344        $(LINK) $(renetcolSMP4_OBJECTS) $(renetcolSMP4_LDADD) $(LIBS) 
    243345renetcolSender$(EXEEXT): $(renetcolSender_OBJECTS) $(renetcolSender_DEPENDENCIES)  
    244346        @rm -f renetcolSender$(EXEEXT) 
    245         $(LINK) $(renetcolSender_LDFLAGS) $(renetcolSender_OBJECTS) $(renetcolSender_LDADD) $(LIBS) 
     347        $(LINK) $(renetcolSender_OBJECTS) $(renetcolSender_LDADD) $(LIBS) 
    246348 
    247349mostlyclean-compile: 
     
    252354 
    253355@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/V9Header_mgmt.Po@am__quote@ 
     356@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/as.Po@am__quote@ 
    254357@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dataFlowSet.Po@am__quote@ 
    255358@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fields_mgmt.Po@am__quote@ 
     
    257360@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/headers_mgmt.Po@am__quote@ 
    258361@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msg_mgmt.Po@am__quote@ 
     362@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefix_mgmt.Po@am__quote@ 
    259363@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_output.Po@am__quote@ 
    260 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renetcol.Po@am__quote@ 
     364@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renetcolAgg.Po@am__quote@ 
    261365@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renetcolMsgCtl.Po@am__quote@ 
     366@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renetcolSMP1.Po@am__quote@ 
     367@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renetcolSMP2.Po@am__quote@ 
     368@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renetcolSMP3.Po@am__quote@ 
     369@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renetcolSMP4.Po@am__quote@ 
    262370@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renetcolSender.Po@am__quote@ 
    263371@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/routers_mgmt.Po@am__quote@ 
     
    267375 
    268376.c.o: 
    269 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 
    270 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 
     377@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 
     378@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 
    271379@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 
    272380@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     
    274382 
    275383.c.obj: 
    276 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 
    277 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 
     384@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 
     385@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 
    278386@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 
    279387@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
    280388@am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'` 
    281 uninstall-info-am: 
    282389 
    283390ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 
     
    286393            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
    287394          done | \ 
    288           $(AWK) '    { files[$$0] = 1; } \ 
    289                END { for (i in files) print i; }'`; \ 
     395          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     396              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
    290397        mkid -fID $$unique 
    291398tags: TAGS 
     
    293400TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \ 
    294401                $(TAGS_FILES) $(LISP) 
    295         tags=; \ 
     402        set x; \ 
    296403        here=`pwd`; \ 
    297404        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \ 
     
    299406            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
    300407          done | \ 
    301           $(AWK) '    { files[$$0] = 1; } \ 
    302                END { for (i in files) print i; }'`; \ 
    303         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 
     408          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     409              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
     410        shift; \ 
     411        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 
    304412          test -n "$$unique" || unique=$$empty_fix; \ 
    305           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 
    306             $$tags $$unique; \ 
     413          if test $$# -gt 0; then \ 
     414            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 
     415              "$$@" $$unique; \ 
     416          else \ 
     417            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 
     418              $$unique; \ 
     419          fi; \ 
    307420        fi 
    308421ctags: CTAGS 
    309422CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \ 
    310423                $(TAGS_FILES) $(LISP) 
    311         tags=; \ 
    312         here=`pwd`; \ 
    313424        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \ 
    314425        unique=`for i in $$list; do \ 
    315426            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
    316427          done | \ 
    317           $(AWK) '    { files[$$0] = 1; } \ 
    318                END { for (i in files) print i; }'`; \ 
    319         test -z "$(CTAGS_ARGS)$$tags$$unique" \ 
     428          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     429              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
     430        test -z "$(CTAGS_ARGS)$$unique" \ 
    320431          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 
    321              $$tags $$unique 
     432             $$unique 
    322433 
    323434GTAGS: 
    324435        here=`$(am__cd) $(top_builddir) && pwd` \ 
    325           && cd $(top_srcdir) \ 
    326           && gtags -i $(GTAGS_ARGS) $$here 
     436          && $(am__cd) $(top_srcdir) \ 
     437          && gtags -i $(GTAGS_ARGS) "$$here" 
    327438 
    328439distclean-tags: 
     
    330441 
    331442distdir: $(DISTFILES) 
    332         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 
    333         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 
    334         list='$(DISTFILES)'; for file in $$list; do \ 
    335           case $$file in \ 
    336             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 
    337             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 
    338           esac; \ 
     443        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 
     444        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 
     445        list='$(DISTFILES)'; \ 
     446          dist_files=`for file in $$list; do echo $$file; done | \ 
     447          sed -e "s|^$$srcdirstrip/||;t" \ 
     448              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 
     449        case $$dist_files in \ 
     450          */*) $(MKDIR_P) `echo "$$dist_files" | \ 
     451                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 
     452                           sort -u` ;; \ 
     453        esac; \ 
     454        for file in $$dist_files; do \ 
    339455          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 
    340           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 
    341           if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 
    342             dir="/$$dir"; \ 
    343             $(mkdir_p) "$(distdir)$$dir"; \ 
     456          if test -d $$d/$$file; then \ 
     457            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 
     458            if test -d "$(distdir)/$$file"; then \ 
     459              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 
     460            fi; \ 
     461            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 
     462              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 
     463              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 
     464            fi; \ 
     465            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 
    344466          else \ 
    345             dir=''; \ 
    346           fi; \ 
    347           if test -d $$d/$$file; then \ 
    348             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 
    349               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 
    350             fi; \ 
    351             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 
    352           else \ 
    353             test -f $(distdir)/$$file \ 
    354             || cp -p $$d/$$file $(distdir)/$$file \ 
     467            test -f "$(distdir)/$$file" \ 
     468            || cp -p $$d/$$file "$(distdir)/$$file" \ 
    355469            || exit 1; \ 
    356470          fi; \ 
     
    362476installdirs: 
    363477        for dir in "$(DESTDIR)$(bindir)"; do \ 
    364           test -z "$$dir" || $(mkdir_p) "$$dir"; \ 
     478          test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 
    365479        done 
    366480install: $(BUILT_SOURCES) 
     
    385499distclean-generic: 
    386500        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 
     501        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 
    387502 
    388503maintainer-clean-generic: 
     
    404519html: html-am 
    405520 
     521html-am: 
     522 
    406523info: info-am 
    407524 
     
    410527install-data-am: 
    411528 
     529install-dvi: install-dvi-am 
     530 
     531install-dvi-am: 
     532 
    412533install-exec-am: install-binPROGRAMS 
    413534 
     535install-html: install-html-am 
     536 
     537install-html-am: 
     538 
    414539install-info: install-info-am 
    415540 
     541install-info-am: 
     542 
    416543install-man: 
     544 
     545install-pdf: install-pdf-am 
     546 
     547install-pdf-am: 
     548 
     549install-ps: install-ps-am 
     550 
     551install-ps-am: 
    417552 
    418553installcheck-am: 
     
    435570ps-am: 
    436571 
    437 uninstall-am: uninstall-binPROGRAMS uninstall-info-am 
     572uninstall-am: uninstall-binPROGRAMS 
     573 
     574.MAKE: all check install install-am install-strip 
    438575 
    439576.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 
     
    441578        distclean-generic distclean-tags distdir dvi dvi-am html \ 
    442579        html-am info info-am install install-am install-binPROGRAMS \ 
    443         install-data install-data-am install-exec install-exec-am \ 
    444         install-info install-info-am install-man install-strip \ 
     580        install-data install-data-am install-dvi install-dvi-am \ 
     581        install-exec install-exec-am install-html install-html-am \ 
     582        install-info install-info-am install-man install-pdf \ 
     583        install-pdf-am install-ps install-ps-am install-strip \ 
    445584        installcheck installcheck-am installdirs maintainer-clean \ 
    446585        maintainer-clean-generic mostlyclean mostlyclean-compile \ 
    447586        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ 
    448         uninstall-am uninstall-binPROGRAMS uninstall-info-am 
     587        uninstall-am uninstall-binPROGRAMS 
    449588 
    450589$(PACKAGE)-$(VERSION).tar.gz: dist 
    451590.PHONY: clean 
    452591clean: 
    453         rm -f renetcol renetcolSender renetcolMsgCtl *.o 
     592        rm -f renetcolSMP1 renetcolSMP2 renetcolSMP3 renetcolSMP4 renetcolSender renetcolMsgCtl renetcolAgg *.o 
     593 
    454594# Tell versions [3.59,3.63) of GNU make to not export all variables. 
    455595# Otherwise a system limit (for SysV at least) may be exceeded. 
  • branches/renetcolSMP/src/renetcolParam.h

    r144 r164  
    11/* 
    22 * File: renetcolParam.h 
    3  *  
    4  * Authors: ANDREU Francois-Xavier  
    5  * 
    6  * Copyright (C) 2007-2010 GIP RENATER  
    7  */ 
    8  
    9 /*  This file is part of renetcol.  
     3 * 
     4 * Authors: ANDREU Francois-Xavier 
     5 * 
     6 * Copyright (C) 2007-2012 GIP RENATER 
     7 * Copyright (C) 2012 ANDREU Francois-Xavier 
     8 */ 
     9 
     10/*  This file is part of renetcol. 
    1011 * 
    1112 *  renetcol is free software; you can redistribute it and/or modify 
     
    2829/************************************** 
    2930 * Parameters which MUST be changed: 
    30  **************************************/  
    31 /*  
    32  * your collector address - syntax: 10.0.0.90, can be empty  
     31 **************************************/ 
     32/* 
     33 * your collector address - syntax: 10.0.0.90, can be empty 
    3334*/ 
    34 #define RECEPTION_ADDRESS "" 
    35  
    36 /*  
    37  * your collector port to recept netflow export  
    38  */  
    39 #define RECEPTION_PORT 1111 
    40  
    41 /*  
     35#define SMP1_RECEPTION_ADDRESS "192.68.2.2" 
     36#define SMP2_RECEPTION_ADDRESS "192.68.3.2" 
     37#define SMP3_RECEPTION_ADDRESS "192.68.4.2" 
     38#define SMP4_RECEPTION_ADDRESS "192.68.5.2" 
     39 
     40/* 
     41 * your collector port to recept netflow export 
     42 */ 
     43#define SMP1_RECEPTION_PORT 1111 
     44#define SMP2_RECEPTION_PORT 1112 
     45#define SMP3_RECEPTION_PORT 1113 
     46#define SMP4_RECEPTION_PORT 1114 
     47 
     48/* 
    4249 * routers index max + 1 (index of the first column who begins the line, 
    4350 * (not necessary the number of routers) 
    4451 */ 
    45 #define ROUTER_INDEX_MAX 55 
    46  
    47 /*  
    48  * FILE with your routers IP address  
    49 */  
    50 #define ROUTERS_LIST "<path to renetcol>/renetcol-0.0.14beta/conf/routers.txt" 
    51  
    52 /*  
    53  * FILE with your prefix/subnet  
    54  */ 
    55 #define SUBNETS_LIST "<path to renetcol>/renetcol-0.0.14beta/conf/IPv4_Subnet_Aggregation_based_on_SNMP_index.txt" 
    56  
    57 /*  
     52#define SMP1_ROUTER_INDEX_MAX 1 
     53#define SMP2_ROUTER_INDEX_MAX 2 
     54#define SMP3_ROUTER_INDEX_MAX 2 
     55#define SMP4_ROUTER_INDEX_MAX 2 
     56 
     57/* 
     58 * FILE with your routers IP address 
     59*/ 
     60#define SMP1_ROUTERS_LIST "/home/maintenance/CONF_RENETCOL/routersSMP1.txt" 
     61#define SMP2_ROUTERS_LIST "/home/maintenance/CONF_RENETCOL/routersSMP2.txt" 
     62#define SMP3_ROUTERS_LIST "/home/maintenance/CONF_RENETCOL/routersSMP3.txt" 
     63#define SMP4_ROUTERS_LIST "/home/maintenance/CONF_RENETCOL/routersSMP4.txt" 
     64 
     65/* 
     66 * FILE with your prefix/subnet 
     67 */ 
     68#define SUBNETS_LIST "/home/maintenance/CONF_RENETCOL/SUBNETSAGA.txt" 
     69 
     70/* 
    5871 * FILE with your IPv6 prefixes list 
    5972 */ 
    60 #define SUBNETS_V6_LIST "<path to renetcol>/renetcol-0.0.14beta/conf/IPv6_Subnet_Aggregation_based_on_SNMP_index.txt" 
    61  
    62 /*  
     73#define SUBNETS_V6_LIST "/home/maintenance/CONF_RENETCOL/IPv6_Subnet_Aggregation_based_on_SNMP_index.txt" 
     74 
     75/* 
    6376 * FILE with the list of AS with accounting 
    6477 */ 
    65 #define AS_LIST "<path to renetcol>/renetcol-0.0.14beta/conf/AS.txt" 
    66  
    67 /*  
    68  * constants, here a subnet is include in a prefix  
    69  */ 
    70 #define MAX_IPV4_PREFIX 4000 
    71 #define MAX_IPV4_SUBNET 1000 
    72 #define MAX_AS 3 
     78#define AS_LIST "/home/maintenance/CONF_RENETCOL/AS_MS.txt" 
     79 
     80/* 
     81 * constants, here a subnet is include in a prefix 
     82 */ 
     83#define MAX_IPV4_PREFIX 4247 
     84#define MAX_IPV4_SUBNET 410 
     85#define MAX_AS 559 
    7386#define MAX_IPV6_PREFIX 500 
    7487#define MAX_IPV6_SUBNET 100 
     
    7891#define RATIO_FIELD 69  /* field 69 is a "reserved" field who is not used actualy. */ 
    7992 
    80 /*  
    81  * FILE for the rules  
    82  */ 
    83 #define RULES_FILE "<path to renetcol>/renetcol-0.0.14beta/conf/rules.txt" 
    84  
    85 /*  
     93/* 
     94 * FILE for the rules 
     95 */ 
     96#define RULES_FILE "/home/maintenance/CONF_RENETCOL/rules.txt" 
     97 
     98/* 
    8699 * FILE with SNMP index of the interfaces 
    87  * tagged "C"ustomers or "B"ackbone  
    88  */ 
    89 #define INTERFACES_TYPE_LIST "<path to renetcol>/renetcol-0.0.14beta/conf/SNMP_INDEX.txt" 
    90  
    91 /*  
     100 * tagged "C"ustomers or "B"ackbone 
     101 */ 
     102#define SMP1_INTERFACES_TYPE_LIST "/home/maintenance/CONF_RENETCOL/SMP1_SNMP_INDEX.txt" 
     103#define SMP2_INTERFACES_TYPE_LIST "/home/maintenance/CONF_RENETCOL/SMP2_SNMP_INDEX.txt" 
     104#define SMP3_INTERFACES_TYPE_LIST "/home/maintenance/CONF_RENETCOL/SMP3_SNMP_INDEX.txt" 
     105#define SMP4_INTERFACES_TYPE_LIST "/home/maintenance/CONF_RENETCOL/SMP4_SNMP_INDEX.txt" 
     106 
     107/* 
    92108 * maximum SNMP index for one router 
    93109 */ 
     
    96112/* 
    97113 * maximum number of interfaces by router (one interface == one SNMP index) 
    98  */  
    99 #define MAX_INDEX_BY_ROUTER 150  
     114 */ 
     115#define MAX_INDEX_BY_ROUTER 150 
    100116 
    101117/*