///|
fn ffi_npcap_probe_implemented() -> Int {
0
}
///|
fn ffi_npcap_runtime_available() -> Int {
0
}
///|
fn ffi_npcap_list_interfaces_text() -> Bytes {
b""
}
///|
fn ffi_npcap_live_adapter_implemented() -> Int {
0
}
///|
fn ffi_npcap_open_live(
name : Bytes,
snaplen : Int,
promiscuous : Int,
timeout_ms : Int,
) -> Int {
ignore(name)
ignore(snaplen)
ignore(promiscuous)
ignore(timeout_ms)
-1
}
///|
fn ffi_npcap_send_packet(fd : Int, frame : Bytes) -> Int {
ignore(fd)
ignore(frame)
-1
}
///|
fn ffi_npcap_set_filter(
fd : Int,
expression : Bytes,
optimize : Int,
netmask : Int,
) -> Int {
ignore(fd)
ignore(expression)
ignore(optimize)
ignore(netmask)
-1
}
///|
fn ffi_npcap_capture_one(fd : Int, timeout_ms : Int) -> Bytes {
ignore(fd)
ignore(timeout_ms)
b""
}
///|
fn ffi_npcap_close_live(fd : Int) -> Int {
ignore(fd)
-1
}
///|
fn ffi_npcap_local_mac(name : Bytes) -> Bytes {
ignore(name)
b""
}
///|
fn ffi_npcap_last_capture_micros() -> Int64 {
0L
}
///|
fn ffi_npcap_set_nonblock(fd : Int, enable : Int) -> Int {
ignore(fd)
ignore(enable)
-1
}