> So the executive summary is that I think I can just filter
> IRE_MARK_TESTHIDDEN routes as Sowmini originally requested. If anyone
> sees a problem with this, please speak up.
Turns out this won't work. The problem is that we in.mpathd *does* need
to see the IRE_MARK_TESTHIDDEN IRE_INTERFACE entries. Further, it seems
like netstat should be able to show this information. So we do need to
export these from the kernel, e.g., through an alternate MIB table. With
two tables, the existing update_router_list() code in in.mpathd gets a bit
more complex because we need to check possible targets (which will not
generally be marked IRE_MARK_TESTHIDDEN) against IRE_INTERFACE entries
(whih will be marked IRE_MARK_TESTHIDDEN) to determine whether the target
can be used. This means in.mpathd needs to retrieve both tables and then
build its target list. It's ugly. I've coded all this up here:
http://zhadum.east.sun.com/ws/clearview/clearview-ipmpdev/webrev/
Sowmini, please have a look.
--
meem