doc: net: ppp: Add PPP documentation
Add information about PPP into Zephyr documentation. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
4a322c6a7c
commit
c9515b4f50
2 changed files with 28 additions and 0 deletions
|
@ -9,3 +9,4 @@ Networking Technologies
|
|||
ethernet.rst
|
||||
ieee802154.rst
|
||||
thread.rst
|
||||
ppp.rst
|
||||
|
|
27
doc/reference/networking/ppp.rst
Normal file
27
doc/reference/networking/ppp.rst
Normal file
|
@ -0,0 +1,27 @@
|
|||
.. _ppp:
|
||||
|
||||
Point-to-Point Protocol (PPP) Support
|
||||
#####################################
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
:depth: 2
|
||||
|
||||
Overview
|
||||
********
|
||||
|
||||
`Point-to-Point Protocol
|
||||
<https://en.wikipedia.org/wiki/Point-to-Point_Protocol>`_ (PPP) is a data link
|
||||
layer (layer 2) communications protocol used to establish a direct connection
|
||||
between two nodes. PPP is used over many types of serial links since IP packets
|
||||
cannot be transmitted over a modem line on their own, without some data link
|
||||
protocol.
|
||||
|
||||
In Zephyr, each individual PPP link is modelled as a network interface. This
|
||||
is similar to how Linux implements PPP.
|
||||
|
||||
PPP support must be enabled at compile time by setting option
|
||||
:option:`CONFIG_NET_PPP` and :option:`CONFIG_NET_L2_PPP`.
|
||||
|
||||
See also the :zephyr_file:`samples/net/sockets/echo_server/overlay-ppp.conf`
|
||||
file for configuration option examples.
|
Loading…
Add table
Add a link
Reference in a new issue