The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
net Directory Reference

Files

 
arp.c
 the ARP cache (see arp.h).
 
arp.h
 the Address Resolution Protocol (RFC 826): the Ethernet address of an IPv4 address on the local network.
 
byteorder.h
 network byte order (big endian) on the little-endian x86.
 
checksum.c
 the Internet checksum (see checksum.h).
 
checksum.h
 the Internet checksum (RFC 1071): the ones' complement of the ones' complement sum of the 16-bit words.
 
ethernet.c
 Ethernet II frames (see ethernet.h).
 
ethernet.h
 Ethernet II frames: the 14-byte header in front of ARP and IPv4.
 
icmp.c
 ICMP (see icmp.h).
 
icmp.h
 ICMP for IPv4 (RFC 792): echo (ping) and "unreachable".
 
inet_internal.h
 the parts of the IPv4 sockets that inet_socket.c (datagrams) and tcp_socket.c (streams) share.
 
inet_socket.c
 IPv4 sockets: UDP and ICMP echo here, and the calls of TCP sockets go to tcp_socket.c (see inet_socket.h).
 
inet_socket.h
 IPv4 sockets: TCP (SOCK_STREAM), UDP (SOCK_DGRAM) and ICMP echo (SOCK_DGRAM with IPPROTO_ICMP, for ping, as Linux's ping sockets).
 
ipv4.c
 IPv4 (see ipv4.h).
 
ipv4.h
 IPv4 (RFC 791): the header, the checks, and where a packet goes.
 
netif.c
 the interface table and the loopback interface (see netif.h).
 
netif.h
 network interfaces: the devices that send and receive frames.
 
tcp.c
 TCP (see tcp.h).
 
tcp.h
 TCP (RFC 9293): reliable byte streams between ports.
 
tcp_socket.c
 TCP sockets (SOCK_STREAM): the socket calls over tcp.c.
 
udp.c
 UDP (see udp.h).
 
udp.h
 UDP (RFC 768): datagrams between ports.