A mfc entry can be static or not (added via the mroute_sk socket). The patch reports MFC_STATIC flag into rtm_protocol by setting rtm_protocol to RTPROT_STATIC or RTPROT_MROUTED.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -227,6 +227,7 @@ enum { · 226 unmodified lines | ||
| 227 | 227 | #define RTPROT_XORP 14 /* XORP */ |
| 228 | 228 | #define RTPROT_NTK 15 /* Netsukuku */ |
| 229 | 229 | #define RTPROT_DHCP 16 /* DHCP client */ |
| 230 | +#define RTPROT_MROUTED 17 /* Multicast daemon */ | |
| 230 | 231 | |
| 231 | 232 | /* rtm_scope |
| 232 | 233 | |