From: Michael Tokarev <[EMAIL PROTECTED]>
Date: Fri, 11 Aug 2006 11:02:43 +0400
> Patrick McHardy wrote:
> > --- a/include/linux/rtnetlink.h
> > +++ b/include/linux/rtnetlink.h
>
> > +static inline u32 rtm_get_table(struct rtattr **rta, u8 table)
> > +{
> > + return RTA_GET_U32(rta[RTA_TABLE-1]
Patrick McHardy wrote:
> --- a/include/linux/rtnetlink.h
> +++ b/include/linux/rtnetlink.h
> +static inline u32 rtm_get_table(struct rtattr **rta, u8 table)
> +{
> + return RTA_GET_U32(rta[RTA_TABLE-1]);
> +rtattr_failure:
> + return table;
> +}
> +
What's that ? ;)
/mjt
-
To unsubscrib
From: Patrick McHardy <[EMAIL PROTECTED]>
Date: Thu, 10 Aug 2006 21:30:00 +0200 (MEST)
> [NET]: Introduce RTA_TABLE/FRA_TABLE attributes
>
> Introduce RTA_TABLE route attribute and FRA_TABLE routing rule attribute
> to hold 32 bit routing table IDs. Usespace compatibility is provided by
> continu
[NET]: Introduce RTA_TABLE/FRA_TABLE attributes
Introduce RTA_TABLE route attribute and FRA_TABLE routing rule attribute
to hold 32 bit routing table IDs. Usespace compatibility is provided by
continuing to accept and send the rtm_table field, but because of its
limited size it can only carry the