图书介绍
TCP/IP详解 卷2 实现 英文版2025|PDF|Epub|mobi|kindle电子书版本百度云盘下载

- (美)GaryR.Wright,W.RichardStevens著 著
- 出版社: 北京:人民邮电出版社
- ISBN:9787115222480
- 出版时间:2010
- 标注页数:1176页
- 文件大小:48MB
- 文件页数:1195页
- 主题词:计算机网络-通信协议-英文
PDF下载
下载说明
TCP/IP详解 卷2 实现 英文版PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
Chapter 1.Introduction1
1.1 Introduction1
1.2 Source Code Presentation1
1.3 History3
1.4 Application Programming Interfaces5
1.5 Example Program5
1.6 System Calls and Library Functions7
1.7 Network Implementation Overview9
1.8 Descriptors10
1.9 Mbufs(Memory Buffers)and Output Processing15
1.10 Input Processing19
1.11 Network Implementation Overview Revisited22
1.12 Interrupt Levels and Concurrency23
1.13 Source Code Organization26
1.14 Test Network28
1.15 Summary29
Chapter 2.Mbufs:Memory Buffers31
2.1 Introduction31
2.2 Code Introduction36
2.3 Mbuf Definitions37
2.4 mbuf Structure38
2.5 Simple Mbuf Macros and Functions40
2.6 m_devget and m_pullup Functions44
2.7 Summary of Mbuf Macros and Functions51
2.8 Summary of Net/3 Networking Data Structures54
2.9 m_copy and Cluster Reference Counts56
2.10 Alternatives60
2.11 Summary60
Chapter 3.Interface Layer63
3.1 Introduction63
3.2 Code Introduction64
3.3 ifnet Structure65
3.4 ifaddr Structure73
3.5 sockaddr Structure74
3.6 ifnet and ifaddr Specialization76
3.7 Network Initialization Overview77
3.8 Ethernet Initialization80
3.9 SLIP Initialization82
3.10 Loopback Initialization85
3.11 if_attach Function85
3.12 ifinit Function93
3.13 Summary94
Chapter 4.Interfaces:Ethernet95
4.1 Introduction95
4.2 Code Introduction96
4.3 Ethernet Interface98
4.4 ioctl System Call114
4.5 Summary125
Chapter 5.Interfaces:SLIP and Loopback127
5.1 Introduction127
5.2 Code Introduction127
5.3 SLIP Interface128
5.4 Loopback Interface150
5.5 Summary153
Chapter 6.IP Addressing155
6.1 Introduction155
6.2 Code Introduction158
6.3 Interface and Address Summary158
6.4 sockaddr_in Structure160
6.5 in_ifaddr Structure161
6.6 Address Assignment161
6.7 Interface ioctl Processing177
6.8 Internet Utility Functions181
6.9 ifnet Utility Functions182
6.10 Summary183
Chapter 7.Domains and Protocols185
7.1 Introduction185
7.2 Code Introduction186
7.3 domain Structure187
7.4 protosw Structure188
7.5 IP domain and protosw Structures191
7.6 pffindproto and pffindtype Functions196
7.7 pfctlinput Function198
7.8 IP Initialization199
7.9 sysctl System Call201
7.10 Summary204
Chapter 8.IP:Internet Protocol205
8.1 Introduction205
8.2 Code Introduction206
8.3 IP Packets210
8.4 Input Processing:ipintr Function212
8.5 Forwarding:ip_forward Function220
8.6 Output Processing:ip_output Function228
8.7 Internet Checksum:in_cksum Function234
8.8 setsockopt and getsockopt System Calls239
8.9 ip_sysctl Function244
8.10 Summary245
Chapter 9.IP Option Processing247
9.1 Introduction247
9.2 Code Introduction247
9.3 Option Format248
9.4 ip_dooptions Function249
9.5 Record Route Option252
9.6 Source and Record Route Options254
9.7 Timestamp Option261
9.8 ip_insertoptions Function265
9.9 ip_pcbopts Function269
9.10 Limitations272
9.11 Summary272
Chapter 10.IP Fragmentation and Reassembly275
10.1 Introduction275
10.2 Code Introduction277
10.3 Fragmentation278
10.4 ip_optcopy Function282
10.5 Reassembly283
10.6 ip_reass Function286
10.7 ip_slowtimo Function298
10.8 Summary300
Chapter 11.ICMP:Internet Control Message Protocol301
11.1 Introduction301
11.2 Code Introduction305
11.3 icmp Structure308
11.4 ICMP protosw Structure309
11.5 Input Processing:icmp_input Function310
11.6 Error Processing313
11.7 Request Processing316
11.8 Redirect Processing321
11.9 Reply Processing323
11.10 Output Processing324
11.11 icmp_error Function324
11.12 icmp_reflect Function328
11.13 icmp_send Function333
11.14 icmp_sysctl Function334
11.15 Summary335
Chapter 12.IP Multicasting337
12.1 Introduction337
12.2 Code Introduction340
12.3 Ethernet Multicast Addresses341
12.4 ether_multi Structure342
12.5 Ethernet Multicast Reception344
12.6 in_multi Structure345
12.7 ip_moptions Structure347
12.8 Multicast Socket Options348
12.9 Multicast TTL Values348
12.0 ip_setmoptions Function351
12.11 Joining an IP Multicast Group355
12.12 Leaving an IP Multicast Group366
12.13 ip_getmoptions Function371
12.14 Multicast Input Processing:ipintr Function373
12.15 Multicast Output Processing:ip_output Function375
12.16 Performance Considerations379
12.17 Summary379
Chapter 13.IGMP:Internet Group Management Protocol381
13.1 Introduction381
13.2 Code Introduction382
13.3 igmp Structure384
13.4 IGMP protosw Structure384
13.5 Joining a Group:igmp_joingroup Function386
13.6 igmp_fasttimo Function387
13.7 Input Processing:igmp_input Function391
13.8 Leaving a Group:igmp_leavegroup Function395
13.9 Summary396
Chapter 14.IP Multicast Routing397
14.1 Introduction397
14.2 Code Introduction398
14.3 Multicast Output Processing Revisited399
14.4 mrouted Daemon401
14.5 Virtual Interfaces404
14.6 IGMP Revisited411
14.7 Multicast Routing416
14.8 Multicast Forwarding:ip_mforward Function424
14.9 Cleanup:ip mrouter_done Function433
14.10 Summary434
Chapter 15.Socket Layer435
15.1 Introduction435
15.2 Code Introduction436
15.3 socket Structure437
15.4 System Calls441
15.5 Processes,Descriptors,and Sockets445
15.6 socket System Call447
15.7 getsock and sockargs Functions451
15.8 bind System Call453
15.9 listen System Call455
15.10 tsleep and wakeup Functions456
15.11 accept System Call457
15.12 sonewconn and soisconnected Functions461
15.13 connect System call464
15.14 shutdown System Call468
15.15 close System Call471
15.16 Summary474
Chapter 16.Socket I/O475
16.1 Introduction475
16.2 Code Introduction475
16.3 Socket Buffers476
16.4 write,writev,sendto,and sendmsg System Calls480
16.5 sendmsg System Call483
16.6 sendit Function485
16.7 sosend Function489
16.8 read,readv,recvfrom,and recvmsg System Calls500
16.9 recvmsg System Call501
16.10 recvit Function503
16.11 soreceive Function505
16.12 soreceive Code510
16.13 select System Call524
16.14 Summary534
Chapter 17.Socket Options537
17.1 Introduction537
17.2 Code Introduction538
17.3 setsockopt System Call539
17.4 getsockopt System Call545
17.5 fcntl and ioctl System Calls548
17.6 getsockname System Call554
17.7 getpeername System Call554
17.8 Summary557
Chapter 18.Radix Tree Routing Tables559
18.1 Introduction559
18.2 Routing Table Structure560
18.3 Routing Sockets569
18.4 Code Introduction570
18.5 Radix Node Data Structures573
18.6 Routing Structures578
18.7 Initialization:route_init and rtable_init Functions581
18.8 Initialization:rn_init and rn_inithead Functions584
18.9 Duplicate Keys and Mask Lists587
18.10 rn_match Function591
18.11 rn_search Function599
18.12 Summary599
Chapter 19.Routing Requests and Routing Messages601
19.1 Introduction601
19.2 rtalloc and rtallocl Functions601
19.3 RTFREE Macro and rtfree Function604
19.4 rtrequest Function607
19.5 rt_setgate Function612
19.6 rtinit Function615
19.7 rtredirect Function617
19.8 Routing Message Structures621
19.9 rt_missmsg Function625
19.10 rt_ifmsg Function627
19.11 rt_newaddrmsg Function628
19.12 rt_msg1 Function630
19.13 rt_msg2 Function632
19.14 sysctl_rtable Function635
19.15 sysctl_dumpentry Function640
19.16 sysctl_iflist Function642
19.17 Summary644
Chapter 20.Routing Sockets645
20.1 Introduction645
20.2 routedomain and protosw Structures646
20.3 Routing Control Blocks647
20.4 raw_init Function647
20.5 route_output Function648
20.6 rt_xaddrs Function660
20.7 rt_setmetrics Function661
20.8 raw_input Function662
20.9 route_usrreq Function664
20.10 raw_usrreq Function666
20.11 raw_attach,raw_detach,and raw_disconnect Functions671
20.12 Summary672
Chapter 21.ARP:Address Resolution Protocol675
21.1 Introduction675
21.2 ARP and the Routing Table675
21.3 Code Introduction678
21.4 ARP Structures681
21.5 arpwhohas Function683
21.6 arprequest Function684
21.7 arpintr Function687
21.8 in_arpinput Function688
21.9 ARP Timer Functions694
21.10 arpresolve Function696
21.11 arplookup Function701
21.12 Proxy ARP703
21.13 arp_rtrequest Function704
21.14 ARP and Multicasting710
21.15 Summary711
Chapter 22.Protocol Control Blocks713
22.1 Introduction713
22.2 Code Introduction715
22.3 inpcb Structure716
22.4 in_pcballoc and in_pcbdetach Functions717
22.5 Binding,Connecting,and Demultiplexing719
22.6 in_pcblookup Function724
22.7 in_pcbbind Function728
22.8 in_pcbconnect Function735
22.9 in_pcbdisconnect Function741
22.10 in_setsockaddr and in_setpeeraddr Functions741
22.11 in_pcbnotify,in_rtchange,and in_losing Functions742
22.12 Implementation Refinements750
22.13 Summary751
Chapter 23.UDP:User Datagram Protocol755
23.1 Introduction755
23.2 Code Introduction755
23.3 UDP protosw Structure758
23.4 UDP Header759
23.5 udp_init Function760
23.6 udp_output Function760
23.7 udp_input Function769
23.8 udp_saveopt Function781
23.9 udp_ctlinput Function782
23.10 udp_usrreq Function784
23.11 udp_sysctl Function790
23.12 Implementation Refinements791
23.13 Summary793
Chapter 24.TCP:Transmission Control Protocol795
24.1 Introduction795
24.2 Code Introduction795
24.3 TCP protosw Structure801
24.4 TCP Header801
24.5 TCP Control Block803
24.6 TCP State Transition Diagram805
24.7 TCP Sequence Numbers807
24.8 tcp_init Function812
24.9 Summary815
Chapter 25.TCP Timers817
25.1 Introduction817
25.2 Code Introduction819
25.3 tcp_canceltimers Function821
25.4 tcp_fasttimo Function821
25.5 tcp_slowtimo Function822
25.6 tcp_timers Function824
25.7 Retransmission Timer Calculations831
25.8 tcp_newtcpcb Function833
25.9 tcp_setpersist Function835
25.10 tcp_xmit_timer Function836
25.11 Retransmission Timeout:tcp_timers Function841
25.12 An RTT Example846
25.13 Summary848
Chapter 26.TCP Output851
26.1 Introduction851
26.2 tcp_output Overview852
26.3 Determine if a Segment Should be Sent852
26.4 TCP Options864
26.5 Window Scale Option866
26.6 Timestamp Option866
26.7 Send a Segment871
26.8 tcp_template Function884
26.9 tcp_respond Function885
26.10 Summary888
Chapter 27.TCP Functions891
27.1 Introduction891
27.2 tcp_drain Function892
27.3 tcp_drop Function892
27.4 tcp_close Function893
27.5 tcp_mss Function897
27.6 tcp_ctlinput Function904
27.7 tcp_notify Function904
27.8 tcp_quench Function906
27.9 TCP_REASS Macro and tcp_reass Function906
27.10 tcp_trace Function916
27.11 Summary920
Chapter 28.TCP Input923
28.1 Introduction923
28.2 Preliminary Processing925
28.3 tcp_dooptions Function933
28.4 Header Prediction934
28.5 TCP Input:Slow Path Processing941
28.6 Initiation of Passive Open,Completion of Active Open942
28.7 PAWS:Protection Against Wrapped Sequence Numbers951
28.8 Trim Segment so Data is Within Window954
28.9 Self-Connets and Simultaneous Opens960
28.10 Record Timestamp963
28.11 RST Processing963
28.12 Summary965
Chapter 29.TCP Input(Continued)967
29.1 Introduction967
29.2 ACK Processing Overview967
29.3 Completion of Passive Opens and Simultaneous Opens967
29.4 Fast Retransmit and Fast Recovery Algorithms970
29.5 ACK Processing974
29.6 Update Window Information981
29.7 Urgent Mode Processing983
29.8 tcp_pulloutofband Function986
29.9 Processing of Received Data988
29.10 FIN Processing990
29.11 Final Processing992
29.12 Implementation Refinements994
29.13 Header Compression995
29.14 Summary1004
Chapter 30.TCP User Requests1007
30.1 Introduction1007
30.2 tcp_usrreq Function1007
30.3 tcp_attach Function1018
30.4 tcp_disconnect Function1019
30.5 tcp_usrclosed Function1021
30.6 tcp_ctloutput Function1022
30.7 Summary1025
Chapter 31.BPF:BSD Packet Filter1027
31.1 Introduction1027
31.2 Code Introduction1028
31.3 bpf_if Structure1029
31.4 bpf_d Structure1032
31.5 BPF Input1040
31.6 BPF Output1046
31.7 Summary1047
Chapter 32.Raw IP1049
32.1 Introduction1049
32.2 Code Introduction1050
32.3 Raw IP protosw Structure1051
32.4 rip_init Function1053
32.5 rip_input Function1053
32.6 rip_output Function1056
32.7 rip_usrreq Function1058
32.8 rip_ctloutput Function1063
32.9 Summary1065
Epilogue1067
Appendix A.Solutions to Selected Exercises1069
Appendix B.Source Code Availability1093
Appendix C.RFC 1122 Compliance1097
C.1 Link_Layer Requirements1097
C.2 IP Requirements1098
C.3 IP Options Requirements1102
C.4 IP Fragmentation and Reassembly Requirements1104
C.5 ICMP Requirements1105
C.6 Multicasting Requirements1110
C.7 IGMP Requirements1111
C.8 Routing Requirements1111
C.9 ARP Requirements1113
C.10 UDP Requirements1113
C.11 TCP Requirements1115
Bibliography1125
Index1133
热门推荐
- 1452757.html
- 2386834.html
- 1409792.html
- 2469659.html
- 1181757.html
- 3485820.html
- 3389391.html
- 3014399.html
- 341356.html
- 1949566.html
- http://www.ickdjs.cc/book_2828417.html
- http://www.ickdjs.cc/book_3480687.html
- http://www.ickdjs.cc/book_2647831.html
- http://www.ickdjs.cc/book_1498299.html
- http://www.ickdjs.cc/book_451045.html
- http://www.ickdjs.cc/book_666775.html
- http://www.ickdjs.cc/book_1849283.html
- http://www.ickdjs.cc/book_3664518.html
- http://www.ickdjs.cc/book_2211356.html
- http://www.ickdjs.cc/book_3798091.html