linux/include/uapi
stephen hemminger 25c71c75ac bridge: bridge port parameters over netlink
Expose bridge port parameter over netlink. By switching to a nested
message, this can be used for other bridge parameters.

This changes IFLA_PROTINFO attribute from one byte to a full nested
set of attributes. This is safe for application interface because the
old message used IFLA_PROTINFO and new one uses
 IFLA_PROTINFO | NLA_F_NESTED.

The code adapts to old format requests, and therefore stays
compatible with user mode RSTP daemon. Since the type field
for nested and unnested attributes are different, and the old
code in libnetlink doesn't do the mask, it is also safe to use
with old versions of bridge monitor command.

Note: although mode is only a boolean, treating it as a
full byte since in the future someone will probably want to add more
values (like macvlan has).

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-14 20:20:44 -05:00
..
asm-generic sk-filter: Add ability to get socket filter program (v2) 2012-11-01 11:17:15 -04:00
drm UAPI: (Scripted) Disintegrate include/drm 2012-10-04 18:21:50 +01:00
linux bridge: bridge port parameters over netlink 2012-11-14 20:20:44 -05:00
mtd UAPI: (Scripted) Disintegrate include/mtd 2012-10-09 09:49:09 +01:00
rdma UAPI: (Scripted) Set up UAPI Kbuild files 2012-10-02 18:01:35 +01:00
scsi UAPI: (Scripted) Set up UAPI Kbuild files 2012-10-02 18:01:35 +01:00
sound UAPI: (Scripted) Set up UAPI Kbuild files 2012-10-02 18:01:35 +01:00
video UAPI: (Scripted) Set up UAPI Kbuild files 2012-10-02 18:01:35 +01:00
xen UAPI: (Scripted) Disintegrate include/xen 2012-10-09 09:49:15 +01:00
Kbuild UAPI: (Scripted) Set up UAPI Kbuild files 2012-10-02 18:01:35 +01:00