#define STATUS_LLDP_NEIGHBOR_NOT_AVAILABLE STATUS_NOT_FOUND
++ Routine Description: This routine adds, changes, or removes multiple TLVs from the local MIB in a single transaction. Arguments: MsapHandle - Handle received from LLDP_OPEN_MSAP Tlvs - An array of TLVs to set on the local MIB Return Value: STATUS_TOO_MANY_NODES - Adding these TLVs would increase the LLDPDU beyond the link's MTU. The local MIB was not modified. Notes: This NPI allows the caller to add, modify, and remove multiple TLVs in a single transaction. To add more than one instance of a TLV, simply put two copies of the TLV in the TlvArray. Any existing TLVs of the same type will be replaced. To remove all instances of a TLV, insert a TLV with its length set to LLDP_DELETE_TLV. To change a TLV, just write the new value -- the existing copy will be replaced. Examples: In these examples, the letter (A, B, C etc) denote distinct TLV types. The numerals distinguish different instances of the same type. The 'del' denotes a TLV with length set to LLDP_DELETE_TLV. Initial MIB contents: Tlv Array: Resulting MIB: ---------------------------------------------------------------------------- { } { A1 } { A1 } { A1 } { A2 } { A2 } { A2 } { A3, A4 } { A3, A4 } { A1, A2, B1, C1 } { A3, B3 } { A3, B3, C1 } { A1, A2, B1 } { Adel } { B1 } { A1 } { A1, A1, B1, B1 } { A1, A1, B1, B1 } --