Hi all, I have a very general question about the ipsec application.  I would 
like to facilitate getting
it reviewed and in to the repository ASAP (connect is less than four weeks 
away, yikes!).

I realize one 3,000+ line file is not very good form, but different folks have 
different ideas
about how something should be broken up.  I was considering doing something 
like the
following.

odp_ipsec.c – main ODP application code, i.e. the meat of the program

and putting all the table management, helper routines into .h/.c pairs:

odp_ipsec_sa_db.h – prototypes and doxygen for SA database
odp_ipsec_sa_db.c – implementations for SA database
odp_ipsec_sp_db.h – prototypes and doxygen for SP database
odp_ipsec_sp_db.c – implementations for SP database
… etc…

This would probably result in a dozen or so reasonably sized files.  I would 
like to avoid doing
all this refactoring only to ignite a debate on code structure. ☺

Thanks!
Robbie

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to