Henri DF | 2 Apr 2005 10:11
Picon
Picon
Favicon

Re: One thing I forgot to ask...

normally a routing table should be implemented in a routing agent (see 
nab/proto/* for some examples).

to understand how packets go from mac up to routing agents and vice versa, 
look at methods mac_recv_pkt and mac_send_pkt in node.ml

henri

On Sat, 2 Apr 2005, David Lee wrote:

> Sorry, I forgot to ask this in the previous email.
> As I said, I want to implement a forwarding table on nodes, and
> forward packets to the node referred to in this table. I was looking
> at the ether, mac_null and mac_base .ml files and can't really see
> where the code that tells where to forward packets is. Could you
> explain to me how packets traverse through the network in NAB please?
> Thanks again.
> 
> Dave
> 


Gmane