zephyr/doc/reference/networking/net_core.rst
Jukka Rissanen 3a93b33c99 doc: net: Enhance core API documentation
Add information about net_recv_data() and net_send_data()
functions.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2019-02-19 15:21:01 -05:00

24 lines
719 B
ReStructuredText

.. _net_core_interface:
Network Core Helpers
####################
Overview
********
The network subsystem contains two functions for sending and receiving
data from the network. The ``net_recv_data()`` is typically used by network
device driver when the received network data needs to be pushed up in the
network stack for further processing. All the data is received via a network
interface which is typically created by the device driver.
For sending, the ``net_send_data()`` can be used. Typically applications do not
call this function directly as there is the :ref:`bsd_sockets_interface` API
for sending and receiving network data.
API Reference
*************
.. doxygengroup:: net_core
:project: Zephyr