On Thursday 10 June 2010 11:10:29 maxime.ferrieux wrote:
> Does anyone developed something to read the binary files created by
> nfdump?
>
> I know that I can use nfdump to read those files but I need an
> extern application or other to read files.

You could take a look at the functions in nffile.[ch] to get a file list and 
go through it (GetNextFile, etc). Then the functions in nffile_inline.c like 
Expand_v2 that will give you a master_record back. 

With a master_Record you can do just about anything you like with the 
information. You'd probably have to change the Makefile.am in nfdump to 
produce a library you could your binary program to.

I hope this info helps you at least a bit.

Cheers,

Luis

-- 
M.Sc. Luis Francisco Servin                                [email protected]

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Nfdump-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfdump-discuss

Reply via email to