mokomoking2501/lockwire/driver/native does not have a README file
fn NativeFramePool::copy(self : NativeFramePool, src : NativeFrameRef, dst : NativeFrameRef, count : Int) -> Int raise NativeLinkErrorfn NativeFramePool::create(capacity? : Int, frame_size? : Int) -> NativeFramePool raise NativeLinkErrorfn NativeFramePool::mark_filled(self : NativeFramePool, fref : NativeFrameRef, length : Int) -> NativeFrameRef raise NativeLinkErrorfn NativeFramePool::mark_received(self : NativeFramePool, fref : NativeFrameRef, length : Int) -> NativeFrameRef raise NativeLinkErrorfn NativeFramePool::mark_sending(self : NativeFramePool, fref : NativeFrameRef) -> Unit raise NativeLinkErrorfn NativeFramePool::mark_sent(self : NativeFramePool, fref : NativeFrameRef) -> Unit raise NativeLinkErrorfn NativeFramePool::read_into(self : NativeFramePool, fref : NativeFrameRef, offset : Int, dst : FixedArray[Byte], count : Int) -> Int raise NativeLinkErrorfn NativeFramePool::read_link_session_frame(self : NativeFramePool, fref : NativeFrameRef) -> Bytes raise NativeLinkErrorfn NativeFramePool::release(self : NativeFramePool, fref : NativeFrameRef) -> Unit raise NativeLinkErrorfn NativeFramePool::slot_length(self : NativeFramePool, fref : NativeFrameRef) -> Int raise NativeLinkErrorfn NativeFramePool::slot_state(self : NativeFramePool, fref : NativeFrameRef) -> NativeFrameSlotState raise NativeLinkErrorfn NativeFramePool::stage_link_session_frame(self : NativeFramePool, frame : Bytes) -> NativeFrameRef raise NativeLinkErrorfn NativeFramePool::write(self : NativeFramePool, fref : NativeFrameRef, offset : Int, src : FixedArray[Byte], count : Int) -> NativeFrameRef raise NativeLinkErrorpub(all) struct NativeFramePoolSmokeReport {
native_backend_present : Bool
frame_pool_available : Bool
pool_smoke_passed : Bool
zero_copy_live_evidence : Bool
capacity : Int
frame_size : Int
acquired_slot : Int
rx_slot : Int
copied_len : Int
read_len : Int
free_count_after_release : Int
payload_digest : Int
evidence_label : String
} derive(Eq, Debug)pub(all) struct NativeLinkSessionCatalogReport {
descriptor_count : Int
npcap_session_count : Int
raw_socket_session_count : Int
udp_session_count : Int
open_count : Int
send_count : Int
receive_count : Int
close_count : Int
filter_count : Int
frame_pool_route_count : Int
manual_interface_required_count : Int
default_live_open_allowed_count : Int
local_loopback_count : Int
fallback_mirror_count : Int
missing_c_abi_owner_count : Int
} derive(Eq, Debug)pub(all) struct NativeLinkSessionConfig {
kind : NativeLinkSessionKind
interface_name : String
bind_ip : Bytes
bind_port : Int
remote_ip : Bytes
remote_port : Int
ethertype : Int
promiscuous : Bool
snaplen : Int
open_timeout_ms : Int
receive_timeout_ms : Int
filter_expression : String
allow_live_open : Bool
} derive(Eq, Debug)pub(all) struct NativeLinkSessionDescriptor {
id : String
kind : NativeLinkSessionKind
driver_id : String
c_abi_owner_ids : Array[String]
native_ffi_file : String
fallback_ffi_file : String
supports_open : Bool
supports_send : Bool
supports_receive : Bool
supports_close : Bool
supports_filter : Bool
supports_frame_pool_route : Bool
manual_interface_required : Bool
default_live_open_allowed : Bool
local_loopback_supported : Bool
fallback_mirror_available : Bool
evidence_label : String
} derive(Eq, Debug)fn NativeLinkSessionFramePoolSmokeReport::passes(self : NativeLinkSessionFramePoolSmokeReport) -> Boolpub(all) struct NativeLinkStubReport {
stub_version : Int
native_backend_present : Bool
lockwire_owns_c_stubs : Bool
highres_clock_available : Bool
pcap_writer_available : Bool
local_pcap_writer_smoke_safe : Bool
frame_pool_available : Bool
raw_socket_adapter_implemented : Bool
udp_socket_adapter_implemented : Bool
npcap_runtime_adapter_implemented : Bool
npcap_live_adapter_surface_implemented : Bool
live_nic_smoke_locked : Bool
} derive(Eq, Debug)pub(all) struct NativeLiveCapabilityReport {
capability_count : Int
clock_capability_count : Int
rt_affinity_capability_count : Int
npcap_live_ext_capability_count : Int
raw_socket_live_ext_capability_count : Int
local_mac_capability_count : Int
last_capture_capability_count : Int
nonblock_capability_count : Int
all_fallbacks_return_not_implemented : Bool
all_implemented_probes_present : Bool
live_evidence_present : Bool
evidence_label : String
} derive(Eq, Debug)pub(all) struct NativeNpcapCapturePcapArtifactReport {
native_backend_present : Bool
npcap_live_adapter_surface_implemented : Bool
npcap_runtime_available : Bool
interface_name : String
output_path : String
manual_interface_required : Bool
output_path_required : Bool
manual_capture_allowed : Bool
attempted_open : Bool
opened : Bool
filter_expression : String
filter_attempted : Bool
filter_configured : Bool
capture_attempted : Bool
captured_frame_bytes : Int
captured_frame_digest : Int
pcap_write_attempted : Bool
pcap_written_len : Int
pcap_artifact_evidence : Bool
closed : Bool
live_capture_evidence : Bool
snaplen : Int
open_timeout_ms : Int
capture_timeout_ms : Int
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeNpcapCapturePcapArtifactReport::passes_manual_boundary(self : NativeNpcapCapturePcapArtifactReport) -> Boolpub(all) struct NativeNpcapFramePoolCaptureReport {
native_backend_present : Bool
npcap_live_adapter_surface_implemented : Bool
npcap_runtime_available : Bool
frame_pool_available : Bool
interface_name : String
manual_interface_required : Bool
manual_capture_allowed : Bool
attempted_open : Bool
opened : Bool
filter_expression : String
filter_attempted : Bool
filter_configured : Bool
capture_attempted : Bool
captured_frame_bytes : Int
captured_frame_digest : Int
frame_pool_attempted : Bool
frame_pool_created : Bool
frame_pool_slot : Int
frame_pool_written_len : Int
frame_pool_read_len : Int
frame_pool_payload_digest : Int
frame_pool_released : Bool
frame_pool_destroyed : Bool
free_count_after_release : Int
frame_pool_capture_evidence : Bool
closed : Bool
live_capture_evidence : Bool
live_frame_pool_evidence : Bool
snaplen : Int
open_timeout_ms : Int
capture_timeout_ms : Int
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeNpcapFramePoolCaptureReport::passes_manual_boundary(self : NativeNpcapFramePoolCaptureReport) -> Boolpub(all) struct NativeNpcapInterfaceListReport {
native_backend_present : Bool
npcap_runtime_available : Bool
interface_listing_supported : Bool
interfaces : Array[NativeNpcapInterfaceInfo]
interface_count : Int
listing_digest : Int
live_capture_evidence : Bool
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeNpcapInterfaceListReport::passes_no_live_boundary(self : NativeNpcapInterfaceListReport) -> Boolfn NativeNpcapLinkSession::open(config : NativeLinkSessionConfig) -> NativeNpcapLinkSession raise NativeLinkErrorfn NativeNpcapLinkSession::receive_frame(self : NativeNpcapLinkSession, timeout_ms? : Int) -> Bytes raise NativeLinkErrorfn NativeNpcapLinkSession::send_frame(self : NativeNpcapLinkSession, frame : Bytes) -> Int raise NativeLinkErrorfn NativeNpcapLiveAdapter::capture_one(self : NativeNpcapLiveAdapter, timeout_ms? : Int) -> Bytes raise NativeLinkErrorfn NativeNpcapLiveAdapter::open(interface_name : String, snaplen? : Int, promiscuous? : Bool, timeout_ms? : Int) -> NativeNpcapLiveAdapter raise NativeLinkErrorfn NativeNpcapLiveAdapter::send_packet(self : NativeNpcapLiveAdapter, frame : Bytes) -> Int raise NativeLinkErrorfn NativeNpcapLiveAdapter::set_filter(self : NativeNpcapLiveAdapter, expression : String, optimize? : Bool, netmask? : Int) -> Unit raise NativeLinkErrorfn NativeNpcapLiveAdapter::try_capture(self : NativeNpcapLiveAdapter) -> Bytes raise NativeLinkErrorpub(all) struct NativeNpcapLiveAdapterReport {
native_backend_present : Bool
npcap_live_adapter_surface_implemented : Bool
npcap_runtime_available : Bool
open_live_abi_present : Bool
send_packet_abi_present : Bool
set_filter_abi_present : Bool
capture_one_abi_present : Bool
close_abi_present : Bool
manual_interface_required : Bool
live_capture_evidence : Bool
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeNpcapLiveAdapterReport::passes_surface_boundary(self : NativeNpcapLiveAdapterReport) -> Boolpub(all) struct NativeNpcapManualLiveSmokeReport {
native_backend_present : Bool
npcap_live_adapter_surface_implemented : Bool
npcap_runtime_available : Bool
interface_name : String
manual_interface_required : Bool
attempted_open : Bool
opened : Bool
filter_expression : String
filter_attempted : Bool
filter_configured : Bool
capture_attempted : Bool
captured_frame_bytes : Int
captured_frame_digest : Int
closed : Bool
live_capture_evidence : Bool
snaplen : Int
open_timeout_ms : Int
capture_timeout_ms : Int
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeNpcapManualLiveSmokeReport::passes_manual_boundary(self : NativeNpcapManualLiveSmokeReport) -> Boolpub(all) struct NativeNpcapManualSendSmokeReport {
native_backend_present : Bool
npcap_live_adapter_surface_implemented : Bool
npcap_runtime_available : Bool
interface_name : String
manual_interface_required : Bool
manual_send_allowed : Bool
attempted_open : Bool
opened : Bool
send_attempted : Bool
sent_len : Int
frame_len : Int
frame_digest : Int
closed : Bool
live_send_evidence : Bool
snaplen : Int
open_timeout_ms : Int
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeNpcapManualSendSmokeReport::passes_manual_boundary(self : NativeNpcapManualSendSmokeReport) -> Boolpub(all) struct NativeNpcapProbeReport {
native_backend_present : Bool
npcap_probe_implemented : Bool
npcap_runtime_available : Bool
interface_listing_supported : Bool
interface_count : Int
listing_digest : Int
live_capture_evidence : Bool
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)pub(all) struct NativeNpcapRoundtripPcapArtifactReport {
native_backend_present : Bool
npcap_live_adapter_surface_implemented : Bool
npcap_runtime_available : Bool
interface_name : String
output_path : String
manual_interface_required : Bool
output_path_required : Bool
manual_send_allowed : Bool
manual_capture_allowed : Bool
attempted_open : Bool
opened : Bool
send_attempted : Bool
sent_len : Int
frame_len : Int
frame_digest : Int
capture_attempted : Bool
capture_attempts : Int
filter_expression : String
filter_attempted : Bool
filter_configured : Bool
captured_frame_bytes : Int
captured_frame_digest : Int
captured_matches_sent_frame : Bool
pcap_write_attempted : Bool
pcap_written_len : Int
pcap_artifact_evidence : Bool
closed : Bool
live_send_evidence : Bool
live_capture_evidence : Bool
live_roundtrip_evidence : Bool
live_roundtrip_pcap_evidence : Bool
snaplen : Int
open_timeout_ms : Int
capture_timeout_ms : Int
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeNpcapRoundtripPcapArtifactReport::passes_manual_boundary(self : NativeNpcapRoundtripPcapArtifactReport) -> Boolpub(all) struct NativeNpcapSendCaptureRoundtripReport {
native_backend_present : Bool
npcap_live_adapter_surface_implemented : Bool
npcap_runtime_available : Bool
interface_name : String
manual_interface_required : Bool
manual_send_allowed : Bool
manual_capture_allowed : Bool
attempted_open : Bool
opened : Bool
send_attempted : Bool
sent_len : Int
frame_len : Int
frame_digest : Int
capture_attempted : Bool
capture_attempts : Int
filter_expression : String
filter_attempted : Bool
filter_configured : Bool
captured_frame_bytes : Int
captured_frame_digest : Int
captured_matches_sent_frame : Bool
closed : Bool
live_send_evidence : Bool
live_capture_evidence : Bool
live_roundtrip_evidence : Bool
snaplen : Int
open_timeout_ms : Int
capture_timeout_ms : Int
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeNpcapSendCaptureRoundtripReport::passes_manual_boundary(self : NativeNpcapSendCaptureRoundtripReport) -> Boolfn NativePcapWriter::open(path : StringView, snaplen? : Int, linktype? : Int) -> NativePcapWriter raise NativeLinkErrorfn NativePcapWriter::write_packet(self : NativePcapWriter, frame : Bytes) -> Int raise NativeLinkErrorfn NativePcapWriter::write_packet_at(self : NativePcapWriter, frame : Bytes, sec : Int, usec : Int) -> Int raise NativeLinkErrorfn NativeRawSocketAdapter::capture_one(self : NativeRawSocketAdapter, timeout_ms? : Int) -> Bytes raise NativeLinkErrorfn NativeRawSocketAdapter::open(interface_name : String, ethertype? : Int, promiscuous? : Bool, timeout_ms? : Int) -> NativeRawSocketAdapter raise NativeLinkErrorfn NativeRawSocketAdapter::send_packet(self : NativeRawSocketAdapter, frame : Bytes) -> Int raise NativeLinkErrorfn NativeRawSocketAdapter::try_capture(self : NativeRawSocketAdapter) -> Bytes raise NativeLinkErrorpub(all) struct NativeRawSocketAdapterReport {
native_backend_present : Bool
raw_socket_adapter_surface_implemented : Bool
raw_socket_runtime_available : Bool
open_abi_present : Bool
send_packet_abi_present : Bool
capture_one_abi_present : Bool
close_abi_present : Bool
manual_interface_required : Bool
live_capture_evidence : Bool
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeRawSocketAdapterReport::passes_surface_boundary(self : NativeRawSocketAdapterReport) -> Boolpub(all) struct NativeRawSocketInterfaceListReport {
native_backend_present : Bool
raw_socket_adapter_surface_implemented : Bool
interface_listing_supported : Bool
interfaces : Array[NativeRawSocketInterfaceInfo]
interface_count : Int
listing_digest : Int
live_capture_evidence : Bool
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeRawSocketInterfaceListReport::passes_no_live_boundary(self : NativeRawSocketInterfaceListReport) -> Boolfn NativeRawSocketLinkSession::close(self : NativeRawSocketLinkSession) -> Unit raise NativeLinkErrorfn NativeRawSocketLinkSession::open(config : NativeLinkSessionConfig) -> NativeRawSocketLinkSession raise NativeLinkErrorfn NativeRawSocketLinkSession::receive_frame(self : NativeRawSocketLinkSession, timeout_ms? : Int) -> Bytes raise NativeLinkErrorfn NativeRawSocketLinkSession::send_frame(self : NativeRawSocketLinkSession, frame : Bytes) -> Int raise NativeLinkErrorpub(all) struct NativeRawSocketManualSmokeReport {
native_backend_present : Bool
raw_socket_adapter_surface_implemented : Bool
raw_socket_runtime_available : Bool
interface_name : String
manual_interface_required : Bool
manual_send_allowed : Bool
manual_capture_allowed : Bool
attempted_open : Bool
opened : Bool
send_attempted : Bool
sent_len : Int
frame_len : Int
frame_digest : Int
capture_attempted : Bool
capture_attempts : Int
captured_frame_bytes : Int
captured_frame_digest : Int
captured_matches_sent_frame : Bool
closed : Bool
live_send_evidence : Bool
live_capture_evidence : Bool
live_roundtrip_evidence : Bool
ethertype : Int
promiscuous : Bool
open_timeout_ms : Int
capture_timeout_ms : Int
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeRawSocketManualSmokeReport::passes_manual_boundary(self : NativeRawSocketManualSmokeReport) -> Boolpub(all) struct NativeRawSocketRoundtripPcapArtifactReport {
native_backend_present : Bool
raw_socket_adapter_surface_implemented : Bool
raw_socket_runtime_available : Bool
interface_name : String
output_path : String
manual_interface_required : Bool
output_path_required : Bool
manual_send_allowed : Bool
manual_capture_allowed : Bool
attempted_open : Bool
opened : Bool
send_attempted : Bool
sent_len : Int
frame_len : Int
frame_digest : Int
capture_attempted : Bool
capture_attempts : Int
captured_frame_bytes : Int
captured_frame_digest : Int
captured_matches_sent_frame : Bool
pcap_write_attempted : Bool
pcap_written_len : Int
pcap_artifact_evidence : Bool
closed : Bool
live_send_evidence : Bool
live_capture_evidence : Bool
live_roundtrip_evidence : Bool
live_roundtrip_pcap_evidence : Bool
ethertype : Int
promiscuous : Bool
open_timeout_ms : Int
capture_timeout_ms : Int
last_error_code : Int
last_error_message : String
evidence_label : String
} derive(Eq, Debug)fn NativeRawSocketRoundtripPcapArtifactReport::passes_manual_boundary(self : NativeRawSocketRoundtripPcapArtifactReport) -> Boolpub(all) struct NativeStubCapabilityLedgerEntry {
c_file : String
module_id : String
capability_family : String
phase : String
target_gate : NativeStubTargetGate
live_boundary : NativeStubLiveBoundary
native_ffi_file : String
fallback_ffi_file : String
public_symbols : Array[String]
ffi_wrappers : Array[String]
helper_only : Bool
fallback_mirror_exports : Bool
} derive(Eq, Debug)pub(all) struct NativeStubCapabilityLedgerReport {
entry_count : Int
declared_c_file_count : Int
missing_from_ledger_count : Int
extra_in_ledger_count : Int
helper_only_count : Int
fallback_mirror_count : Int
public_symbol_count : Int
ffi_wrapper_count : Int
wrapper_mismatch_count : Int
} derive(Eq, Debug)pub(all) struct NativeStubFallbackLockdownPolicyReport {
rule_count : Int
actual_file_count : Int
missing_file_count : Int
extra_file_count : Int
required_include_count : Int
include_exact_set_mismatch_count : Int
required_token_count : Int
missing_required_token_count : Int
forbidden_token_count : Int
present_forbidden_token_count : Int
ffi_export_count_mismatch_count : Int
set_error_call_count_mismatch_count : Int
helper_call_count_mismatch_count : Int
duplicate_file_fact_count : Int
replaces_file_reading : Bool
replaces_token_extraction : Bool
live_io_evidence : Bool
} derive(Eq, Debug)fn NativeStubFallbackLockdownPolicyReport::passes(self : NativeStubFallbackLockdownPolicyReport) -> Boolpub(all) struct NativeStubFfiShimPolicyReport {
expected_fact_count : Int
actual_fact_count : Int
native_fact_count : Int
fallback_fact_count : Int
missing_fact_count : Int
extra_fact_count : Int
duplicate_fact_count : Int
fallback_native_binding_violation_count : Int
replaces_file_reading : Bool
replaces_wrapper_extraction : Bool
replaces_extern_target_extraction : Bool
live_io_evidence : Bool
} derive(Eq, Debug)pub(all) struct NativeStubModuleDescriptor {
id : String
c_files : Array[String]
support_files : Array[String]
native_ffi_files : Array[String]
fallback_ffi_files : Array[String]
symbol_family : String
target_gate : NativeStubTargetGate
fallback_behavior : NativeStubFallbackBehavior
live_boundary : NativeStubLiveBoundary
moonbit_fallback_available : Bool
raw_adapter_implemented : Bool
live_adapter_implemented : Bool
} derive(Eq, Debug)fn NativeStubModuleDescriptor::respects_declared_boundary(self : NativeStubModuleDescriptor) -> Boolpub(all) struct NativeStubModuleReport {
module_count : Int
catalog_c_file_count : Int
moon_pkg_native_stub_file_count : Int
catalog_native_ffi_file_count : Int
moon_pkg_native_ffi_file_count : Int
catalog_fallback_ffi_file_count : Int
moon_pkg_fallback_ffi_file_count : Int
missing_from_catalog_count : Int
extra_in_catalog_count : Int
missing_native_ffi_from_catalog_count : Int
extra_native_ffi_in_catalog_count : Int
missing_fallback_ffi_from_catalog_count : Int
extra_fallback_ffi_in_catalog_count : Int
fallback_gap_count : Int
raw_adapter_count : Int
live_adapter_count : Int
runtime_probe_only_count : Int
} derive(Eq, Debug)pub(all) struct NativeStubSourceFunctionPolicyReport {
rule_count : Int
actual_file_count : Int
missing_file_count : Int
extra_file_count : Int
expected_symbol_count : Int
missing_symbol_count : Int
extra_symbol_count : Int
duplicate_symbol_fact_count : Int
replaces_file_reading : Bool
replaces_function_extraction : Bool
live_io_evidence : Bool
} derive(Eq, Debug)fn NativeStubSourceFunctionPolicyReport::passes(self : NativeStubSourceFunctionPolicyReport) -> Boolpub(all) struct NativeStubSourceIncludePolicyReport {
rule_count : Int
actual_file_count : Int
missing_file_count : Int
extra_file_count : Int
required_include_count : Int
missing_required_include_count : Int
forbidden_include_count : Int
present_forbidden_include_count : Int
source_include_violation_count : Int
duplicate_include_fact_count : Int
replaces_file_reading : Bool
replaces_include_extraction : Bool
live_io_evidence : Bool
} derive(Eq, Debug)pub(all) struct NativeStubSourcePhasePolicyReport {
rule_count : Int
actual_fact_count : Int
actual_phase_count : Int
expected_symbol_count : Int
phase1_symbol_count : Int
phase2_symbol_count : Int
phase3_symbol_count : Int
missing_symbol_count : Int
extra_symbol_count : Int
unknown_file_count : Int
duplicate_symbol_fact_count : Int
replaces_file_reading : Bool
replaces_function_extraction : Bool
live_io_evidence : Bool
} derive(Eq, Debug)pub(all) struct NativeStubSourcePlatformGatePolicyReport {
rule_count : Int
actual_file_count : Int
missing_file_count : Int
extra_file_count : Int
required_gate_count : Int
forbidden_gate_count : Int
required_export_count : Int
missing_required_gate_count : Int
present_forbidden_gate_count : Int
unclosed_gate_count : Int
missing_required_export_count : Int
export_before_gate_count : Int
duplicate_gate_fact_count : Int
replaces_file_reading : Bool
replaces_gate_extraction : Bool
live_io_evidence : Bool
} derive(Eq, Debug)fn NativeStubSourcePlatformGatePolicyReport::passes(self : NativeStubSourcePlatformGatePolicyReport) -> Boolpub(all) struct NativeStubSourceTokenPolicyReport {
rule_count : Int
actual_file_count : Int
missing_file_count : Int
extra_file_count : Int
required_token_count : Int
forbidden_token_count : Int
missing_required_token_count : Int
present_forbidden_token_count : Int
unexpected_token_fact_count : Int
duplicate_token_fact_count : Int
replaces_file_reading : Bool
replaces_token_extraction : Bool
live_io_evidence : Bool
} derive(Eq, Debug)pub(all) struct NativeUdpLinkSession {
socket : NativeUdpSocket
remote_ip : Bytes
remote_port : Int
} derive(Eq, Debug)fn NativeUdpLinkSession::open(config : NativeLinkSessionConfig) -> NativeUdpLinkSession raise NativeLinkErrorfn NativeUdpLinkSession::receive_frame(self : NativeUdpLinkSession, timeout_ms? : Int) -> Bytes raise NativeLinkErrorfn NativeUdpLinkSession::send_frame(self : NativeUdpLinkSession, frame : Bytes) -> Int raise NativeLinkErrorpub(all) struct NativeUdpLoopbackSmokeReport {
native_backend_present : Bool
udp_socket_adapter_implemented : Bool
loopback_smoke_passed : Bool
timeout_is_benign : Bool
live_nic_evidence : Bool
bind_port : Int
sent_len : Int
received_len : Int
payload_digest : Int
evidence_label : String
} derive(Eq, Debug)fn NativeUdpSocket::open(bind_ip : Bytes, bind_port? : Int) -> NativeUdpSocket raise NativeLinkErrorfn NativeUdpSocket::receive(self : NativeUdpSocket, timeout_ms : Int) -> Bytes raise NativeLinkErrorfn NativeUdpSocket::send_to(self : NativeUdpSocket, dst_ip : Bytes, port : Int, data : Bytes) -> Int raise NativeLinkErrorfn NativeUdpSocket::send_to_loopback(self : NativeUdpSocket, port : Int, data : Bytes) -> Int raise NativeLinkErrorfn native_link_session_frame_pool_smoke() -> NativeLinkSessionFramePoolSmokeReport raise NativeLinkErrorfn native_make_ethernet_smoke_frame(ethertype? : Int, dst_mac? : Bytes, src_mac? : Bytes, payload? : Bytes) -> Bytesfn native_npcap_capture_frame_pool(interface_name : String, allow_capture? : Bool, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String) -> NativeNpcapFramePoolCaptureReportfn native_npcap_capture_pcap_artifact(interface_name : String, output_path : String, allow_capture? : Bool, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String) -> NativeNpcapCapturePcapArtifactReportfn native_npcap_make_ethernet_smoke_frame(ethertype? : Int, dst_mac? : Bytes, src_mac? : Bytes, payload? : Bytes) -> Bytesfn native_npcap_manual_live_smoke(interface_name : String, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String) -> NativeNpcapManualLiveSmokeReportfn native_npcap_manual_send_smoke(interface_name : String, allow_send? : Bool, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, frame? : Bytes) -> NativeNpcapManualSendSmokeReportfn native_npcap_roundtrip_pcap_artifact(interface_name : String, output_path : String, allow_send? : Bool, allow_capture? : Bool, capture_attempts? : Int, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String, frame? : Bytes) -> NativeNpcapRoundtripPcapArtifactReportfn native_npcap_send_capture_roundtrip(interface_name : String, allow_send? : Bool, allow_capture? : Bool, capture_attempts? : Int, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String, frame? : Bytes) -> NativeNpcapSendCaptureRoundtripReportfn native_raw_socket_manual_smoke(interface_name : String, allow_send? : Bool, allow_capture? : Bool, ethertype? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, capture_attempts? : Int, frame? : Bytes) -> NativeRawSocketManualSmokeReportfn native_raw_socket_roundtrip_pcap_artifact(interface_name : String, output_path : String, allow_send? : Bool, allow_capture? : Bool, capture_attempts? : Int, ethertype? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, frame? : Bytes) -> NativeRawSocketRoundtripPcapArtifactReportfn native_stub_fallback_lockdown_policy_report(actual : Array[NativeStubFallbackLockdownFact]) -> NativeStubFallbackLockdownPolicyReportfn native_stub_fallback_lockdown_policy_report_from_rules(rules : Array[NativeStubFallbackLockdownRule], actual : Array[NativeStubFallbackLockdownFact]) -> NativeStubFallbackLockdownPolicyReportfn native_stub_ffi_shim_policy_report(actual : Array[NativeStubFfiShimFact]) -> NativeStubFfiShimPolicyReportfn native_stub_ffi_shim_policy_report_from_expected(expected : Array[NativeStubFfiShimFact], actual : Array[NativeStubFfiShimFact]) -> NativeStubFfiShimPolicyReportfn native_stub_source_function_policy_report(actual : Array[NativeStubSourceFunctionFact]) -> NativeStubSourceFunctionPolicyReportfn native_stub_source_function_policy_report_from_rules(rules : Array[NativeStubSourceFunctionRule], actual : Array[NativeStubSourceFunctionFact]) -> NativeStubSourceFunctionPolicyReportfn native_stub_source_include_policy_report(actual : Array[NativeStubSourceIncludeFact]) -> NativeStubSourceIncludePolicyReportfn native_stub_source_include_policy_report_from_rules(rules : Array[NativeStubSourceIncludeRule], actual : Array[NativeStubSourceIncludeFact]) -> NativeStubSourceIncludePolicyReportfn native_stub_source_phase_policy_report(actual : Array[NativeStubSourceFunctionFact]) -> NativeStubSourcePhasePolicyReportfn native_stub_source_phase_policy_report_from_rules(rules : Array[NativeStubSourcePhaseRule], actual : Array[NativeStubSourceFunctionFact]) -> NativeStubSourcePhasePolicyReportfn native_stub_source_platform_gate_policy_report(actual : Array[NativeStubSourcePlatformGateFact]) -> NativeStubSourcePlatformGatePolicyReportfn native_stub_source_platform_gate_policy_report_from_rules(rules : Array[NativeStubSourcePlatformGateRule], actual : Array[NativeStubSourcePlatformGateFact]) -> NativeStubSourcePlatformGatePolicyReportfn native_stub_source_symbol_policy_report(actual : Array[NativeStubSourceSymbolFact]) -> NativeStubSourceSymbolPolicyReportfn native_stub_source_symbol_policy_report_from_expected(expected : Array[NativeStubSourceSymbolFact], actual : Array[NativeStubSourceSymbolFact]) -> NativeStubSourceSymbolPolicyReportfn native_stub_source_token_policy_report(actual : Array[NativeStubSourceTokenFact]) -> NativeStubSourceTokenPolicyReportfn native_stub_source_token_policy_report_from_rules(rules : Array[NativeStubSourceTokenRule], actual : Array[NativeStubSourceTokenFact]) -> NativeStubSourceTokenPolicyReportfn native_udp_link_session_loopback_smoke(timeout_ms? : Int) -> NativeUdpLinkSessionSmokeReport raise NativeLinkErrorfn native_udp_loopback_smoke(timeout_ms? : Int) -> NativeUdpLoopbackSmokeReport raise NativeLinkErrorDeterministic run-test substrate for MoonBit
Dependencies