Skip to content

Commit

Permalink
doc8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Aug 15, 2016
1 parent a99ce0a commit d498e60
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,10 @@ DNS lookup

ARP process
-----------
In order to send an ARP (Address Resolution Protocol) broadcast the network stack library needs the target IP
address to look up. It also needs to know the MAC address of the interface it
will use to send out the ARP broadcast.

In order to send an ARP (Address Resolution Protocol) broadcast the network
stack library needs the target IP address to look up. It also needs to know the
MAC address of the interface it will use to send out the ARP broadcast.

The ARP cache is first checked for an ARP entry for our target IP. If it is in
the cache, the library function returns the result: Target IP = MAC.
Expand All @@ -242,7 +243,8 @@ If the entry is not in the ARP cache:

* The MAC address of the selected network interface is looked up.

* The network library sends a Layer 2 (data link layer of the `OSI model`_) ARP request:
* The network library sends a Layer 2 (data link layer of the `OSI model`_)
ARP request:

``ARP Request``::

Expand Down Expand Up @@ -676,4 +678,4 @@ page rendering and painting.
.. _`varies by OS` : https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system
.. _`简体中文`: https://github.com/skyline75489/what-happens-when-zh_CN
.. _`downgrade attack`: http://en.wikipedia.org/wiki/SSL_stripping
.. _`OSI Model`: https://en.wikipedia.org/wiki/OSI_model
.. _`OSI Model`: https://en.wikipedia.org/wiki/OSI_model

0 comments on commit d498e60

Please sign in to comment.