Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
ip — internet protocolDESCRIPTION
The Internet Protocol version 4 is the original network layer protocol of the Internet and provides best-effort delivery of datagrams between hosts. It provides for addressing of hosts, routing over packet-switched networks, fragmentation and reassembly of datagrams across networks with small maximum transmission unit sizes; but it does not provide guarantee of delivery, avoidance of delivering multiple times, ordering, flow control, nor data integrity. Its protocol family inet(4) can be layered on top of the Internet Protocol to provide the enhanced service of the transport layer. For instance, the Transmission Control Protocol tcp(4) can be used to provide multiplexed reliable communication across the Internet, while the User Datagram Protocol udp(4) can be used to provide low-overhead multiplexed unreliable communication across the Internet.- The checksum is valid.
- The protocol is Internet Protocol version 4 and the packet is well-formed.
- The source address is neither the broadcast address (255.255.255.255) or the subnet's broadcast address.
- If the network interface is not the loopback network interface lo(4), neither the source nor the destination belong to the loopback subnet (127.0.0.0/24)
- The destination address is either the local address (and the link layer destination address was not a broadcast address) of the network interface, the broadcast address of the network interface, or the broadcast address (255.255.255.255).
ERRORS
Socket operations can fail due to these error conditions, in addition to the error conditions of link layer and the error conditions of the invoked function.- [EACCES]
- A datagram was sent to a broadcast address, but SO_BROADCAST is turned off.
- [EADDRNOTAVAIL]
- The socket cannot be bound to the requested address because no network interface had that address or broadcast address.
- [ECONNREFUSED]
- The destination host of a datagram was not listening on the port.
- [EHOSTDOWN]
- The destination host of a datagram is not up.
- [EHOSTUNREACH]
- The destination host of a datagram was unreachable.
- [EMSGSIZE]
- The datagram was too large to be sent because it exceeded the maximum transmission unit (MTU) on the path between the local and remote address.
- [ENETDOWN]
- The network interface used to deliver a datagram isn't up.
- [ENETUNREACH]
- The destination network of a datagram was unreachable.
- [ENOBUFS]
- There was not enough memory available for network packets.