Re: [PATCH] Prefix List patch against 2.5.70

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






Regarding my previous mail :

> > 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).
> >
> > 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 ?

> > 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

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux