- 1 引言
协议控制块的主体是作用在协议层。
协议控制块叫PCB。
协议层使用PCB,用于存放各UDP和TCP插口所需要的各种信息片。
Internet协议维护internet PCB和 TCP PCB.UDP是无连接的不需要专门协议维护。
重要的分为inpcb结构,in_pcballoc和in_pcbdetach函数。
- 2 绑定连接和分用
没什么好讲的。无聊。可以看具体函数
- ICMP差错和UDP插口
- in_pcblookup是对PCB的线性搜索。
本章意义不大。重点讲述的问题仅限于对PCB的讨论。