unix/socket.rs syscall protocol. Descriptor operations consume owned refs; concrete TCP/virtual implementations provide real state transitions/callbacks.
@[reducible, inline]
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
@[instance_reducible]
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[reducible, inline]
Instances For
- bind : F → Bool → SocketAddress.Address → M S (Files.Result E Unit)
- listen : F → Bool → Int32 → M S (Files.Result E Unit)
- send : F → Bool → Memory.Pointer (Option Memory.Provenance) → Nat → Bool → Finish S E Nat → M S Unit
- setOption : F → Int32 → Int32 → Memory.Pointer (Option Memory.Provenance) → UInt64 → M S (Files.Result E Unit)
- getOption : F → Int32 → Int32 → M S (Files.Result E (MPlaceTy Memory.Provenance))
- localName : F → Bool → M S (Files.Result E SocketAddress.Address)
- peerName : F → Bool → Finish S E SocketAddress.Address → M S Unit
- shutdown : F → Bool → Shutdown → M S (Files.Result E Unit)
Instances For
- address : SocketAddress.Hooks S E I
- operations : Operations S F E
- os : String
- communicate : Bool
- readI32 : OpTy Memory.Provenance → M S Int32
- readSizeT : OpTy Memory.Provenance → M S Nat
as_unix then checked as_socket, preserving actual same owned description.
- newTcp : Family → Bool → M S (Except (IoError.HostError E) F)
- writeInt : Int → MPlaceTy Memory.Provenance → M S Unit
- readLengthPlace : MPlaceTy Memory.Provenance → M S Nat
Instances For
def
Miri.Interpreter.Socket.create
{S F E I : Type}
(h : Hooks S F E I)
(domain kind protocol : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.bind
{S F E I : Type}
(h : Hooks S F E I)
(number address length : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.listen
{S F E I : Type}
(h : Hooks S F E I)
(number backlog : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.accept4
{S F E I : Type}
(h : Hooks S F E I)
(number address length : OpTy Memory.Provenance)
(flags : Option (OpTy Memory.Provenance))
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.connect
{S F E I : Type}
(h : Hooks S F E I)
(number address length : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.sendRecv
{S F E I : Type}
(h : Hooks S F E I)
(send : Bool)
(number buffer length flags : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.setOption
{S F E I : Type}
(h : Hooks S F E I)
(number level option value length : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.getOption
{S F E I : Type}
(h : Hooks S F E I)
(number level option value length : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.localName
{S F E I : Type}
(h : Hooks S F E I)
(number address length : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.peerName
{S F E I : Type}
(h : Hooks S F E I)
(number address length : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.shutdown
{S F E I : Type}
(h : Hooks S F E I)
(number how : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Socket.unsupportedOperations
{F S E : Type}
(drop : F → M S Unit)
:
Operations S F E
Trait default implementations reject every operation. In particular a virtual socket does not inherit successful TCP options, bind or shutdown.
Equations
- One or more equations did not get rendered due to their size.