سؤال

Is there a document that will help me understand how ipv4 addresses are inserted into the patricia/radix trees? I am confused around calculating mask length and if the mask length is for the complete address or one octet in the address.

Any explaination would be appreciated.

لا يوجد حل صحيح

نصائح أخرى

I don't know about document (Design and Implementation of 4.4 BSD Unix by Sam Leffler might be a good source, but I don't have it handy) but have a look at this C code: http://cpansearch.perl.org/src/PHILIPP/Net-Patricia-1.15_07/libpatricia/patricia.c

If you're good at C you can probably consider it a document.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top