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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -778,6 +778,7 @@ enum { · 777 unmodified lines | ||
| 778 | 778 | #define RTEXT_FILTER_BRVLAN (1 << 1) |
| 779 | 779 | #define RTEXT_FILTER_BRVLAN_COMPRESSED (1 << 2) |
| 780 | 780 | #define RTEXT_FILTER_SKIP_STATS (1 << 3) |
| 781 | +#define RTEXT_FILTER_MRP (1 << 4) | |
| 781 | 782 | |
| 782 | 783 | /* End of information exported to user level */ |
| 783 | 784 | |