Home > other >  Help: how to use c language quickly find an IPv6 address
Help: how to use c language quickly find an IPv6 address

Time:09-25

Want to achieve in the IPv6 address space quickly find a specified IP information, what can quickly find algorithm?
You want to approach is
1. The hierarchical storage full table: 24-24-24-24-24-8 memory information should not calculated much
2. The reference DPDK lpm6 algorithm implementation, 24 the first level, after each level are eight tables, to 14 this memory access to match to the IP, or slow

Great god give advice or comments, thanks a lot
  • Related