/share/doc/smm/18.net/0.t

https://bitbucket.org/freebsd/freebsd-head/ · Raku · 184 lines · 184 code · 0 blank · 0 comment · 8 complexity · 0b3783dd55c2067a07512b9791777a33 MD5 · raw file

  1. .\" Copyright (c) 1983, 1986, 1993
  2. .\" The Regents of the University of California. All rights reserved.
  3. .\"
  4. .\" Redistribution and use in source and binary forms, with or without
  5. .\" modification, are permitted provided that the following conditions
  6. .\" are met:
  7. .\" 1. Redistributions of source code must retain the above copyright
  8. .\" notice, this list of conditions and the following disclaimer.
  9. .\" 2. Redistributions in binary form must reproduce the above copyright
  10. .\" notice, this list of conditions and the following disclaimer in the
  11. .\" documentation and/or other materials provided with the distribution.
  12. .\" 3. All advertising materials mentioning features or use of this software
  13. .\" must display the following acknowledgement:
  14. .\" This product includes software developed by the University of
  15. .\" California, Berkeley and its contributors.
  16. .\" 4. Neither the name of the University nor the names of its contributors
  17. .\" may be used to endorse or promote products derived from this software
  18. .\" without specific prior written permission.
  19. .\"
  20. .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  21. .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  24. .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  25. .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  26. .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  29. .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  30. .\" SUCH DAMAGE.
  31. .\"
  32. .\" @(#)0.t 8.1 (Berkeley) 6/10/93
  33. .\"
  34. .de IR
  35. \fI\\$1\fP\\$2
  36. ..
  37. .if n .ND
  38. .TL
  39. Networking Implementation Notes
  40. .br
  41. 4.4BSD Edition
  42. .AU
  43. Samuel J. Leffler, William N. Joy, Robert S. Fabry, and Michael J. Karels
  44. .AI
  45. Computer Systems Research Group
  46. Computer Science Division
  47. Department of Electrical Engineering and Computer Science
  48. University of California, Berkeley
  49. Berkeley, CA 94720
  50. .AB
  51. .FS
  52. * UNIX is a trademark of Bell Laboratories.
  53. .FE
  54. This report describes the internal structure of the
  55. networking facilities developed for the 4.4BSD version
  56. of the UNIX* operating system
  57. for the VAX\(dg. These facilities
  58. .FS
  59. \(dg DEC, VAX, DECnet, and UNIBUS are trademarks of
  60. Digital Equipment Corporation.
  61. .FE
  62. are based on several central abstractions which
  63. structure the external (user) view of network communication
  64. as well as the internal (system) implementation.
  65. .PP
  66. The report documents the internal structure of the networking system.
  67. The ``Berkeley Software Architecture Manual, 4.4BSD Edition'' (PSD:5)
  68. provides a description of the user interface to the networking facilities.
  69. .sp
  70. .LP
  71. Revised June 10, 1993
  72. .AE
  73. .LP
  74. .\".de PT
  75. .\".lt \\n(LLu
  76. .\".pc %
  77. .\".nr PN \\n%
  78. .\".tl '\\*(LH'\\*(CH'\\*(RH'
  79. .\".lt \\n(.lu
  80. .\"..
  81. .\".ds RH Contents
  82. .OH 'Networking Implementation Notes''SMM:18-%'
  83. .EH 'SMM:18-%''Networking Implementation Notes'
  84. .bp
  85. .ce
  86. .B "TABLE OF CONTENTS"
  87. .LP
  88. .sp 1
  89. .nf
  90. .B "1. Introduction"
  91. .LP
  92. .sp .5v
  93. .nf
  94. .B "2. Overview"
  95. .LP
  96. .sp .5v
  97. .nf
  98. .B "3. Goals
  99. .LP
  100. .sp .5v
  101. .nf
  102. .B "4. Internal address representation"
  103. .LP
  104. .sp .5v
  105. .nf
  106. .B "5. Memory management"
  107. .LP
  108. .sp .5v
  109. .nf
  110. .B "6. Internal layering
  111. 6.1. Socket layer
  112. 6.1.1. Socket state
  113. 6.1.2. Socket data queues
  114. 6.1.3. Socket connection queuing
  115. 6.2. Protocol layer(s)
  116. 6.3. Network-interface layer
  117. 6.3.1. UNIBUS interfaces
  118. .LP
  119. .sp .5v
  120. .nf
  121. .B "7. Socket/protocol interface"
  122. .LP
  123. .sp .5v
  124. .nf
  125. .B "8. Protocol/protocol interface"
  126. 8.1. pr_output
  127. 8.2. pr_input
  128. 8.3. pr_ctlinput
  129. 8.4. pr_ctloutput
  130. .LP
  131. .sp .5v
  132. .nf
  133. .B "9. Protocol/network-interface interface"
  134. 9.1. Packet transmission
  135. 9.2. Packet reception
  136. .LP
  137. .sp .5v
  138. .nf
  139. .B "10. Gateways and routing issues
  140. 10.1. Routing tables
  141. 10.2. Routing table interface
  142. 10.3. User level routing policies
  143. .LP
  144. .sp .5v
  145. .nf
  146. .B "11. Raw sockets"
  147. 11.1. Control blocks
  148. 11.2. Input processing
  149. 11.3. Output processing
  150. .LP
  151. .sp .5v
  152. .nf
  153. .B "12. Buffering and congestion control"
  154. 12.1. Memory management
  155. 12.2. Protocol buffering policies
  156. 12.3. Queue limiting
  157. 12.4. Packet forwarding
  158. .LP
  159. .sp .5v
  160. .nf
  161. .B "13. Out of band data"
  162. .LP
  163. .sp .5v
  164. .nf
  165. .B "14. Trailer protocols"
  166. .LP
  167. .sp .5v
  168. .nf
  169. .B Acknowledgements
  170. .LP
  171. .sp .5v
  172. .nf
  173. .B References
  174. .bp
  175. .de _d
  176. .if t .ta .6i 2.1i 2.6i
  177. .\" 2.94 went to 2.6, 3.64 to 3.30
  178. .if n .ta .84i 2.6i 3.30i
  179. ..
  180. .de _f
  181. .if t .ta .5i 1.25i 2.5i
  182. .\" 3.5i went to 3.8i
  183. .if n .ta .7i 1.75i 3.8i
  184. ..