Re: [PATCH] Prefix List patch against 2.5.70

From: Krishna Kumar <hidden>
Date: 2003-06-02 19:46:55




Regarding my previous mail :
quoted
Again, what I proposed was to store prefix information on fib with
some flags to represent advertised by routers and give user-space
the RA information using new rtattr (RTA_RA6INFO or something like
that).
quoted
struct rta_ra6info {
     u32 rta_ra6flags;
};
In my mail, I had given problems with doing that in the fib. I can look
to
convert to fib, but please let me know which kernel routines I should
look at

What I meant is whether you are referring to addrconf_prefix_route() when
you
mention storing prefix on fib ?
quoted
Again, what I proposed was to store prefix information on fib with
some flags to represent advertised by routers and give user-space
the RA information using new rtattr (RTA_RA6INFO or something like
that).
This sounds very reasonable.
Also since you prefer it to be implemented as part of routing table, would
it
be OK to return the prefix list via netstat or route command (this uses
rt6_info_route() to print the information). The current user for prefix
list
has no problem using a command instead of writing netlink user code to get
the list. I am not sure why rtnetlink is needed in this case.

thanks,

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