///|
fn ffi_raw_socket_adapter_implemented() -> Int {
  0
}

///|
fn ffi_raw_socket_list_interfaces_text() -> Bytes {
  b""
}

///|
fn ffi_raw_socket_open(
  name : Bytes,
  ethertype : Int,
  promiscuous : Int,
  timeout_ms : Int,
) -> Int {
  ignore(name)
  ignore(ethertype)
  ignore(promiscuous)
  ignore(timeout_ms)
  -1
}

///|
fn ffi_raw_socket_send_packet(fd : Int, frame : Bytes) -> Int {
  ignore(fd)
  ignore(frame)
  -1
}

///|
fn ffi_raw_socket_capture_one(fd : Int, timeout_ms : Int) -> Bytes {
  ignore(fd)
  ignore(timeout_ms)
  b""
}

///|
fn ffi_raw_socket_close(fd : Int) -> Int {
  ignore(fd)
  -1
}

///|
fn ffi_raw_socket_local_mac(name : Bytes) -> Bytes {
  ignore(name)
  b""
}

///|
fn ffi_raw_socket_last_capture_micros() -> Int64 {
  0L
}

///|
fn ffi_raw_socket_set_nonblock(fd : Int, enable : Int) -> Int {
  ignore(fd)
  ignore(enable)
  -1
}