Thread (24 messages) flat view 24 messages, 5 authors, 2003-08-15

Re: [RFC] High Performance Packet Classifiction for tc framework

From: Jamie Lokier <hidden>
Date: 2003-08-13 23:21:58

Ralph Doncaster wrote:
So you have to put an entry in the /16 table for every /16 that you have a
more specific route for, right?
Then what if I have 3 different routes; one for 217.109.0.0/16, another
for 217.109.118.0/24 and one for 217.109.118.68/32?
Then you would have one entry in the /16 table, matching
217.109.0.0/16, whose BEST value is the first route and whose LARGER
points to another table.

The second table would have one entry matching 217.109.118.0/24, whose
BEST value is the second route, and whose LARGER points to another
table.

The third table would have one entry matching 217.109.118.68/32, whose
BEST value is the third route, and which has no LARGER.

That's three hash tables, each containing just one entry.

-- Jamie
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help