I understand, but $SUBDIRLAYOUT contain only an integer that describe the used subdirectory tree, is there another variable that contain subdirectory path? Tank you Nino
Peter Haag ha scritto: > > > Nino Ciurleo wrote: > | My problem is that my plugin code can't work if nfcapd files are > | organized in an unflat ( $SUBDIRLAYOUT != 0 ) directory tree. > | My question was if there is a nfsen variable that permit my plugin to > | know nfcapd file subdirectory structure. > > Yes - as I said in my email below: $NfConf::SUBDIRLAYOUT > > - Peter > > | Tank you > | Nino Ciurleo > | > | > | Peter Haag ha scritto: > |> > |> Nino Ciurleo wrote: > |> | Hello, I'm writing a new nfsen plugin that build interAS traffic > matrix > |> | (AsTracker). > |> | I have to find nfcapd file in my disk. If $SUBDIRLAYOUT is > different to > |> | default what nfsen plugin variable give me the correct path? > |> | $profilepath is correct? > |> | In which nfsen plugin environment variable can I find this > information? > |> | Can anyone help me? > |> > |> Don't know, if I understand you correctly. The config var are all > |> available prepending them with NfConf, so > |> $NfConf::SUBDIRLAYOUT is the name you need to access from the plugin. > |> However, nfdump does not need this variable to > |> access an nfcapd file. See the demoplugin to get the idea to work with > |> nfcapd files. > |> > |> - Peter > |> > |> | Tank you > |> | Nino Ciurleo > |> | > |> | > |> > ------------------------------------------------------------------------- > |> | This SF.net email is sponsored by: Microsoft > |> | Defy all challenges. Microsoft(R) Visual Studio 2008. > |> | http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > |> | _______________________________________________ > |> | Nfsen-discuss mailing list > |> | [email protected] > |> | https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > |> > | > | > ------------------------------------------------------------------------- > | This SF.net email is sponsored by: Microsoft > | Defy all challenges. Microsoft(R) Visual Studio 2008. > | http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > | _______________________________________________ > | Nfsen-discuss mailing list > | [email protected] > | https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > | > | > | > | > ------------------------------------------------------------------------- > | This SF.net email is sponsored by: Microsoft > | Defy all challenges. Microsoft(R) Visual Studio 2008. > | http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > | _______________________________________________ > | Nfsen-discuss mailing list > | [email protected] > | https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nfsen-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
