In article <200307170038.EAA12945@xxxxxxxxxxxxx> (at Thu, 17 Jul 2003 04:38:00
+0400 (MSD)), kuznet@xxxxxxxxxxxxx says:
> Actually, the original plan was to use ifli_family to query something
> or to direct a request to a specific interface on some netdevice.
> I wanted to reserve IFLI_PROTINFO attribute to encapsulate information
> private for specific family. It was not realized mostly because of absense
> of such information.
>
> Maybe, you will want to resurrect this.
Ah, okay, I'm ok to reuse ifi_family in ifinfomsg{}.
e.g. if ifi_family == AF_INET6 (and/or AF_UNSPEC?), kernel sends
per-interface IPv6 information.
IFLA_INET6 provides if_flags (etc?)
IFLA_INET6_CONF provides cnf (without proc_dir_entry :-p)
IFLA_INET6_STATS provides stats (XXX: missing entries in stats)
IFLA_INET6_MCAST provides mc_XXX things
etc, etc.
sounds reasonable?
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
|