Skip to contentSkip to conversation

More genericization of struct rtable

PATCH New David Miller 1 participant 1 message May 4, 2011

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

cover More genericization of struct rtable

This patch set does more work to minimize or completely eliminate various fields of struct rtable, with the goal of making the structure as generic and non-specific as possible.

First we reduce rt->rt_tos such that it is only used as a key for routing cache lookups, and rename it rt->rt_key_tos to reflect this fact.

Next some output route lookup interface tweaks leading to the removal of several rt->rt_{dst,src} accesses, replacing those with flowi4->{daddr,saddr}

More to come.