> Does anyone have any objects to included this checksum ability
> into mknbi? Or ideas on how to speed of the ckecksum computation,
> even more?
0. Look in CPAN, there may be something already. Always the first
step when you need neat stuff in Perl. I can't see anything obvious
for IP checksum, there are "Math" modules.
1. Write a C function and create a Perl hook. Not too hard, use Swig
(or put the C here and I'll do it). Contribute to CPAN when done.
2. Write a C standalone utility and use system() or backticks to get
the answer.
|