= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
ON THIS PAGE
package tcpip
-
icmpv4_socket
-
tcp_socket_options
-
tcpip
-
tcpip_icmpv4
-
tcpip_stack_direct
-
tcpip_stack_socket
-
tcpip_unix
-
tcpip_xen
-
tcpv4_socket
-
tcpv6_socket
-
udpv4_socket
-
udpv6_socket
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Parameters
module Ip : Mirage_protocols_lwt.IP
Signature
type error = Mirage_protocols.Ip.error
The type for TCP wire errors.
val dst_port : t -> int
Remote TCP port
val src_port : t -> int
Local TCP port
v ~src ~src_port ~dst ~dst_port
is the wire value v
with the corresponding local and remote IP/TCP parameters.
val xmit :
ip:Ip.t ->
t ->
?rst:bool ->
?syn:bool ->
?fin:bool ->
?psh:bool ->
rx_ack:Sequence.t option ->
seq:Sequence.t ->
window:int ->
options:Options.t list ->
Cstruct.t ->
(unit, error) result Lwt.t
xmit
emits a TCP packet over the network.
ON THIS PAGE