Files
linux-stable-mirror/include/net
Thomas Graf f8ff182c71 rtnetlink: Link address family API
Each net_device contains address family specific data such as
per device settings and statistics. We already expose this data
via procfs/sysfs and partially netlink.

The netlink method requires the requester to send one RTM_GETLINK
request for each address family it wishes to receive data of
and then merge this data itself.

This patch implements a new API which combines all address family
specific link data in a new netlink attribute IFLA_AF_SPEC.
IFLA_AF_SPEC contains a sequence of nested attributes, one for each
address family which in turn defines the structure of its own
attribute. Example:

   [IFLA_AF_SPEC] = {
       [AF_INET] = {
           [IFLA_INET_CONF] = ...,
       },
       [AF_INET6] = {
           [IFLA_INET6_FLAGS] = ...,
           [IFLA_INET6_CONF] = ...,
       }
   }

The API also allows for address families to implement a function
which parses the IFLA_AF_SPEC attribute sent by userspace to
implement address family specific link options.

Signed-off-by: Thomas Graf <tgraf@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-11-17 11:28:24 -08:00
..
2010-10-12 12:44:53 -03:00
2010-09-23 14:33:39 -07:00
2010-10-17 13:49:14 -07:00
2010-09-23 14:33:39 -07:00
2010-10-16 11:13:24 -07:00
2010-06-03 03:21:52 -07:00
2010-11-10 12:12:00 -08:00
2010-10-27 11:37:32 -07:00
2010-10-25 13:09:44 -07:00
2010-09-23 14:33:39 -07:00
2010-10-27 11:37:33 -07:00
2010-04-13 01:41:33 -07:00
2010-10-25 13:09:45 -07:00
2010-10-27 11:37:32 -07:00
2010-09-23 14:33:39 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-11-11 10:29:40 -08:00
2010-10-25 14:18:27 -07:00
2010-11-17 11:28:24 -08:00
2010-06-30 13:31:19 -07:00
2010-11-16 11:17:43 -08:00
2010-11-10 12:12:00 -08:00
2010-11-10 12:12:00 -08:00