Illustration of tcp/ip protocol 2 implementation, data structure

Insert image description here

(1) The above is the mbuf and ifnet and ifaddr and le_softc and sockaddr_dl structures in Chapters 2 and 3 of the illustrations
(2) The following are the macros and functions of mbuf in Chapter 2 and the functions in Chapter 3

Insert image description here

(3) The following is the macros and functions of the interface layer in Chapter 3

Insert image description here

(4) 4 Chapter 4 1: Ethernet interface and three functions

Insert image description here

(5) Chapter 4 2: Macros and functions of Ethernet interface

Insert image description here
(6) Chapter 5 1: SLIP and loopback interface

Insert image description here
(7) 7 Chapter 5 2: SLIP and loopback interface

Insert image description here
(8) 8 Chapter 6 1 IP addressing and Chapter 5 3

Insert image description here

Guess you like

Origin blog.csdn.net/zhangzhangkeji/article/details/133182880