mokomoking2501/profinet_master/lldp does not have a README file
pub(all) struct LldpNeighbor { chassis_id : String port_id : String ttl : Int system_name : String system_description : String port_description : String management_address : String} derive(Eq, @moonbitlang/core/debug.DebugDebug)
pub(all) struct LldpTlv { tlv_type : Int length : Int value : Bytes} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn build_lldp_frame(chassis_id : Bytes, port_id : Bytes, ttl : Int, system_name? : String) -> Bytes
fn encode_tlv(tlv_type : Int, value : Bytes) -> Bytes
let ether_type_lldp : Int
fn extract_neighbor(tlvs : Array[LldpTlv]) -> LldpNeighbor
fn format_neighbor(n : LldpNeighbor) -> String
let lldp_multicast_mac : String
let oui_ieee_802_1 : Bytes
let oui_ieee_802_3 : Bytes
let oui_profinet : Bytes
fn parse_lldp_tlvs(data : Bytes, offset : Int) -> Array[LldpTlv] raise @mokomoking2501/profinet_master/frame.FrameErrorFrameError
let tlv_type_chassis_id : Int
let tlv_type_end : Int
fn tlv_type_label(tlv_type : Int) -> String
let tlv_type_management_address : Int
let tlv_type_port_description : Int
let tlv_type_port_id : Int
let tlv_type_system_capabilities : Int
let tlv_type_system_description : Int
let tlv_type_system_name : Int
let tlv_type_ttl : Int
Install
Powered by MoonBit
© 2026 mooncakes.io