History

bridge: Extend br_fill_ifinfo to return MPR status

This patch extends the function br_fill_ifinfo to return also the MRP status for each instance on a bridge. It also adds a new filter RTEXT_FILTER_MRP to return the MRP status only when this is set, not to interfer with the vlans. The MRP status is return only on the bridge interfaces.

Horatiu Vultur committed 6 years ago

Commit 36a8e8e1 parent df42ef22 files · +25 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/rtnetlink.h+1−0
@@ -778,6 +778,7 @@ enum { · 777 unmodified lines
778778 #define RTEXT_FILTER_BRVLAN (1 << 1)
779779 #define RTEXT_FILTER_BRVLAN_COMPRESSED (1 << 2)
780780 #define RTEXT_FILTER_SKIP_STATS (1 << 3)
781+#define RTEXT_FILTER_MRP (1 << 4)
781782
782783 /* End of information exported to user level */
783784

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t