0

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.

4

1 回答 1

0

我不了解文档(Sam Leffler 的 4.4 BSD Unix 的设计和实现可能是一个很好的来源,但我手边没有)但是看看这个 C 代码: http://cpansearch.perl。 org/src/PHILIPP/Net-Patricia-1.15_07/libpatricia/​​patricia.c

如果您擅长 C,您可能可以将其视为文档。

于 2013-10-30T00:45:13.070 回答