Re: multiple neighbour cache tables for AF_INET

From: Herbert Xu
Date: Sat Jan 29 2005 - 05:14:54 EST


On Sat, Jan 29, 2005 at 07:46:05AM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote:
> In article <E1CueSz-0000lz-00@xxxxxxxxxxxxxxxxxxxxxxxx> (at Sat, 29 Jan 2005 09:19:49 +1100), Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> says:
>
> > IMHO you need to give the user a way to specify which table they want
> > to operate on. If they don't specify one, then the current behaviour
> > of choosing the first table found is reasonble.
>
> We have dev. Isn't is sufficient?

It could be used for neigh_add/neigh_delete. We'll need to add a way
to query whether a given table is the right one for a device.

For dump it isn't the same. However, perhaps it's not too important
to query a specific table.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/