This is the third commit of the implementation of the CFM protocol according to 802.1Q section 12.14. Functionality is extended with CCM frame reception. The MEP instance now contains CCM based status information. Most important is the CCM defect status indicating if correct CCM frames are received with the expected interval.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -20,6 +20,10 @@ · 19 unmodified lines | |||
| 20 | CFM_IF_STATUS_TLV_LENGTH) | 20 | CFM_IF_STATUS_TLV_LENGTH) |
| 21 | #define CFM_FRAME_PRIO 7 | 21 | #define CFM_FRAME_PRIO 7 |
| 22 | #define CFM_CCM_TLV_OFFSET 70 | 22 | #define CFM_CCM_TLV_OFFSET 70 |
| 23 | #define CFM_CCM_PDU_MAID_OFFSET 10 | ||
| 24 | #define CFM_CCM_PDU_MEPID_OFFSET 8 | ||
| 25 | #define CFM_CCM_PDU_SEQNR_OFFSET 4 | ||
| 26 | #define CFM_CCM_PDU_TLV_OFFSET 74 | ||
| 23 | #define CFM_CCM_ITU_RESERVED_SIZE 16 | 27 | #define CFM_CCM_ITU_RESERVED_SIZE 16 |
| 24 | 28 | ||
| 25 | struct br_cfm_common_hdr { | 29 | struct br_cfm_common_hdr { |