Hi, i want to implement a small routing table for my learning? I know it is implemented using radix/

Posted by aks on Stack Overflow See other posts from Stack Overflow or by aks
Published on 2010-05-05T06:45:21Z Indexed on 2010/05/05 6:48 UTC
Read the original article Hit count: 235

Filed under:

Hi, i want to implement a small routing table for my learning? I know it is implemented using radix/patricia tree in routers?

Can someone give me an idea on how to go about implementing the same?

The major issue i feel is storing IP ADDRESS. For example : 10.1.1.0 network next hop 20.1.1.1 10.1.0.0 network next hop 40.1.1.1

Can someone give me a declaration of the struct from which i can have an idea?

© Stack Overflow or respective owner

Related posts about c