Part 1. TCP for Transactions / TCP事務協議 1
Chapter 1. T/TCP Introduction / T/TCP概述 3
1.1 Introduction / 概述 3
1.2 UDP Client-Server / UDP客戶-服務器 3
1.3 TCP Client-Server / TCP客戶-服務器 9
1.4 T/TCP Client-Server / T/TCP客戶-服務器 17
1.5 Test Network / 測試網絡20
1.6 Timing Example / 計時示例21
1.7 Applications / 應用22
1.8 History / 曆史24
1.9 Implementations / 實現26
1.10 Summary / 小結 28
Chapter 2. T/TCP Protocol / T/TCP協議 29
2.1 Introduction / 概述29
2.2 New TCP Options for T/TCP / T/TCP的新TCP選項 30
2.3 T/TCP Implementation Variables / T/TCP實現變量33
2.4 State Transition Diagram / 狀態變遷圖34
2.5 T/TCP Extended States / T/TCP的擴展狀態 36
2.6 Summary / 小結 38
Chapter 3. T/TCP Examples / T/TCP 示例 39
3.1 Introduction / 概述 39
3.2 Client Reboot / 客戶重新啓動 40
3.3 Normal T/TCP Transaction / 常規的T/TCP事務 42
3.4 Server Receives Old Duplicate SYN / 服務器收到過時的重復SYN 43
3.5 Server Reboot / 服務器重新啓動 44
3.6 Request or Reply Exceeds MSS / 請求或應答超齣MSS 45
3.7 Backward Compatibility / 嚮後兼容性49
3.8 Summary / 小結 51
Chapter 4. T/TCP Protocol (Continued) / T/TCP協議(續) 53
4.1 Introduction / 概述 53
4.2 Client Port Numbers and TIME_WAIT State / 客戶的端口號和TIME_WAIT狀態 53
4.3 Purpose of the TIME_WAIT State / 設置TIME_WAIT狀態的目的 56
4.4 TIME WAIT State Truncation / TIME_WAIT狀態的截斷 59
4.5 Avoiding the Three-Way Handshake with TAO / 利用TAO避免三次握手 62
4.6 Summary / 小結 68
Chapter 5. T/TCP Implementation: Socket Layer / T/TCP實現:套接字層69
5.1 Introduction / 概述69
5.2 Constants / 常量70
5.3 sosend Function / sosend函數70
5.4 Summary / 小結 72
Chapter 6.T/TCP Implementation: Routing Table / T / TCP實現:路由錶 73
6.1 Introduction / 概述73
6.2 Code Introduction / 代碼介紹74
6.3 radix_node_head Structure / radix_node_head結構75
6.4 rtentry Structure / rtentry結構75
6.5 rt_metrics Structure / rt_metrics結構76
6.6 in_inithead Function / in_inithead函數 76
6.7 in_addroute Function / in_addroute函數77
6.8 in_matroute Function / in_matroute函數78
6.9 in_clsroute Function / in_clsroute函數78
6.10 in_rtqtimo Function / in_rtqtimo函數79
6.11 in_rtqkill Function / in_rtqkill函數82
6.12 小結 85
Chapter 7. T/TCP Implementation: Protocol Control Blocks / T/TCP實現:協議控製塊 87
7.1 Introduction / 概述 87
7.2 in_pcbladdr Function / in_pcbladdr函數88
7.3 in_pcbconnect Function / in_pcbconnect函數89
7.4 Summary / 小結 90
Chapter 8. T/TCP Implementation: TCP Overview / T/TCP實現:TCP概要 91
8.1 Introduction / 概述 91
8.2 Code Introduction / 代碼介紹 91
8.3 TCP protosw Structure / TCP protosw結構92
8.4 TCP Control Block / TCP控製塊93
8.5 tcp_init Function / tcp_init函數 94
8.6 tcp_slowtimo Function / tcp_slowtimo函數 94
8.7 Summary / 小結 95
Chapter 9. T/TCP Implementation: TCP Output / T/TCP實現:TCP輸齣 97
9.1 Introduction / 概述97
9.2 tcp_output Function / tcp_output函數 97
9.3 Summary / 小結 104
Chapter 10. T/TCP Implementation: TCP Functions / T/TCP實現:TCP函數 105
10.1 Introduction / 概述105
10.2 tcp_newtcpcb Function / tcp_newtcpcb函數105
10.3 tcp_rtlookup Function / tcp_rtlookup函數106
10.4 tcp_gettaocache Function / tcp_gettaocache函數108
10.5 Retransmission Timeout Calculations / 重傳超時的計算108
10.6 tcp_close Function / tcp_close函數 112
10.7 tcp_msssend Function / tcp_msssend函數113
10.8 tcp_mssrcvd Function / tcp_mssrcvd函數114
10.9 tcp_dooptions Function / tcp_dooptions函數121
10.10 tcp_reass Function / tcp_reass函數122
10.11 Summary / 小結 124
Chapter 11.T/TCP Implementation: TCP Input / T/TCP實現:TCP輸入 125
11.1 Introduction / 概述125
11.2 Preliminary Processing / 預處理125
11.3 Header Prediction / 首部預測129
11.4 Initiation of Passive Open / 被動打開的啓動130
11.5 Initiation of Active Open / 主動打開的啓動134
11.6 PAWS: Protection Against Wrapped Sequence Numbers / PAWS:防止序號重復141
11.7 ACK Processing / ACK處理142
11.8 Completion of Passive Opens and Simultaneous Opens / 完成被動打開和同時打開142
11.9 ACK Processing (Continued) / ACK處理(續) 143
11.10 Summary / 小結 147
Chapter 12. T/TCP Implementation: TCP User Requests / T/TCP實現:TCP用戶請求 149
12.1 Introduction / 概述149
12.2 PRU_CONNECT Request / PRU_CONNECT請求149
12.3 tcp_connect Function / tcp_connect函數150
12.4 PRU_SEND and PRU_SEND_EOF Requests / PRU_SEND和PRU_SEND_EOF請求154
12.5 tcp_usrclosed Function / tcp_usrclosed函數155
12.6 tcp_sysctl Function / tcp_sysctl函數155
12.7 T/TCP Futures / T/TCP的前景156
12.8 Summary / 小結 158
Part 2. Additional TCP Applications / TCP的其他應用 159
Chapter 13. HTTP: Hypertext Transfer Protocol / HTTP:超文本傳送協議161
13.1 Introduction / 概述161
13.2 Introduction to HTTP and HTML / HTTP和HTML概述162
13.3 HTTP Protocol / HTTP協議 165
13.4 An Example / 示例 170
13.5 HTTP Statistics / HTTP統計數據 172
13.6 Performance Problems / 性能問題173
13.7 Summary / 小結 175
Chapter 14. Packets Found on an HTTP Server / 在HTTP服務器上找到的分組177
14.1 Introduction / 概述177
14.2 Multiple HTTP Servers / 多個HTTP服務器180
14.3 Client SYN Interarrival Time / 客戶SYN的到達間隔時間181
14.4 RTT Measurements / RTT的測量 185
14.5 1isten Backlog Queue / 1isten積壓隊列 187
14.6 Client SYN Options / 客戶SYN選項 192
14.7 Client SYN Retransmissions / 客戶SYN重傳 195
14.8 Domain Names / 域名 196
14.9 Timing Out Persist Probes / 超時的持續探測196
14.10 Simulation of T/TCP Routing Table Size / T/TCP路由錶大小的模擬 200
14.11 Mbuf Interaction / Mbuf交互202
14.12 TCP PCB Cache and Header Prediction / TCP的PCB高速緩存和首部預測 203
14.13 Summary / 小結 205
Chapter 15. NNTP: Network News Transfer Protocol / NNTP:網絡新聞傳送協議207
15.1 Introduction / 概述207
15.2 NNTP Protocol / NNTP協議209
15.3 A Simple News Client / 一個簡單的新聞客戶212
15.4 A More Sophisticated News Client / 一個復雜的新聞客戶214
15.5 NNTP Statistics / NNTP的統計數據 215
15.6 Summary / 小結 216
Part 3. The Unix Domain Protocols / Unix域協議 219
Chapter 16. Unix Domain Protocols: Introduction / Unix域協議:概述221
16.1 Introduction / 概述221
16.2 Usage / 用途222
16.3 Performance / 性能 223
16.4 Coding Examples / 編碼示例224
16.5 Summary / 小結 225
Chapter 17. Unix Domain Protocols: Implementation / Unix域協議:實現227
17.1 Introduction / 概述 227
17.2 Code Introduction / 代碼介紹227
17.3 Unix domain and protosw Structures / Unix domain和protosw結構228
17.4 Unix Domain Socket Address Structures / Unix域套接字地址結構230
17.5 Unix Domain Protocol Control Blocks / Unix域協議控製塊231
17.6 uipc_usrreq Function / uipc_usrreq函數233
17.7 PRU_ATTACH Request and unp_attach Function / PRU_ATTACH請求和unp_attach函數233
17.8 PRU_DETACH Request and unp_detach Function / PRU_DETACH請求和unp_detach函數236
17.9 PRU_BIND Request and unp_bind Function / PRU_BIND請求和unp_bind函數237
17.10 PRU_CONNECT Request and unp_connect Function / PRU_CONNECT請求和unp_connect函數240
17.11 PRU_CONNECT2 Request and unp_connect2 Function / PRU_CONNECT2請求和unp_connect2函數245
17.12 socketpair System Call / socketpair係統調用249
17.13 pipe System Call / pipe係統調用253
17.14 PRU_ACCEPT Request / PRU_ACCEPT請求253
17.15 PRU_DISCONNECT Request and unp_disconnect Function / PRU_DISCONNECT請求和unp_disconnect函數255
17.16 PRU_SHUTDOWN Request and unp_shutdown Function / PRU_SHUTDOWN請求和unp_shutdown函數257
17.17 PRU_ABORT Request and unp_drop Function / PRU_ABORT請求和unp_drop函數258
17.18 Miscellaneous Requests / 其他各種請求259
17.19 Summary / 小結 261
Chapter 18. Unix Domain Protocols: I/O and Descriptor Passing / Unix域協議:I/O和描述符傳遞263
18.1 Introduction /概述263
18.2 PRU_SEND and PRU_RCVD Requests / PRU_SEND和PRU_RCVD請求263
18.3 Descriptor Passing / 描述符傳遞269
18.4 unp_internalize Function / unp_internalize函數274
18.5 unp_externalize Function / unp_externalize函數276
18.6 unp_discard Function / unp_discard函數277
18.7 unp_dispose Function / unp_dispose函數278
18.8 unp_scan Function / unp_scan函數278
18.9 unp_gc Function / unp_gc函數280
18.10 unp_mark Function / unp_mark函數288
18.11 Performance (Revisited) / 性能(續)288
18.12 Summary / 小結 289
Appendix A. Measuring Network Times / 測量網絡時間291
A.1 RTT Measurements Using Ping / 使用Ping進行RTT測量 292
A.2 Protocol Stack Measurements / 協議棧測量294
A.3 Latency and Bandwidth / 延遲和帶寬 300
Appendix B. Coding Applications for T/TCP / 為T/TCP編寫應用程序303
Bibliography / 參考文獻309
· · · · · · (
收起)