struct br_cfm_mep_create { enum br_cfm_domain domain; /* Domain for this MEP */ enum br_cfm_mep_direction direction; /* Up or Down MEP direction */
u32 ifindex; /* Residence port */
};
/* Transmitted CCM Remote Defect Indication status set. * This RDI is inserted in transmitted CCM PDUs if CCM transmission is enabled. * See br_cfm_cc_ccm_tx() with interval != BR_CFM_CCM_INTERVAL_NONE
*/ int br_cfm_cc_rdi_set(struct net_bridge *br, const u32 instance, constbool rdi, struct netlink_ext_ack *extack);
/* OAM PDU Tx information */ struct br_cfm_cc_ccm_tx_info { struct mac_addr dmac; /* The CCM will be transmitted for this period in seconds. * Call br_cfm_cc_ccm_tx before timeout to keep transmission alive. * When period is zero any ongoing transmission will be stopped.
*/
u32 period;
bool seq_no_update; /* Update Tx CCM sequence number */ bool if_tlv; /* Insert Interface Status TLV */
u8 if_tlv_value; /* Interface Status TLV value */ bool port_tlv; /* Insert Port Status TLV */
u8 port_tlv_value; /* Port Status TLV value */ /* Sender ID TLV ?? * Organization-Specific TLV ??
*/
};
struct br_cfm_mep_status { /* Indications that an OAM PDU has been seen. */ bool opcode_unexp_seen; /* RX of OAM PDU with unexpected opcode */ bool version_unexp_seen; /* RX of OAM PDU with unexpected version */ bool rx_level_low_seen; /* Rx of OAM PDU with level low */
};
struct br_cfm_cc_peer_status { /* This CCM related status is based on the latest received CCM PDU. */
u8 port_tlv_value; /* Port Status TLV value */
u8 if_tlv_value; /* Interface Status TLV value */
/* CCM has not been received for 3.25 intervals */
u8 ccm_defect:1;
/* (RDI == 1) for last received CCM PDU */
u8 rdi:1;
/* Indications that a CCM PDU has been seen. */
u8 seen:1; /* CCM PDU received */
u8 tlv_seen:1; /* CCM PDU with TLV received */ /* CCM PDU with unexpected sequence number received */
u8 seq_unexp_seen:1;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.