We need to be able to differentiate between pg entries created by user-space and the kernel when we start generating S,G entries for IGMPv3/MLDv2's fast path. User-space entries are created by default as RTPROT_STATIC and the kernel entries are RTPROT_KERNEL. Later we can allow user-space to provide the entry rt_protocol so we can differentiate between who added the entries specifically (e.g. clag, admin, frr etc).
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -458,6 +458,7 @@ enum { · 457 unmodified lines | ||
| 458 | 458 | MDBA_MDB_EATTR_SRC_LIST, |
| 459 | 459 | MDBA_MDB_EATTR_GROUP_MODE, |
| 460 | 460 | MDBA_MDB_EATTR_SOURCE, |
| 461 | + MDBA_MDB_EATTR_RTPROT, | |
| 461 | 462 | __MDBA_MDB_EATTR_MAX |
| 462 | 463 | }; |
| 463 | 464 | #define MDBA_MDB_EATTR_MAX (__MDBA_MDB_EATTR_MAX - 1) |