2019-02-01 23:11:18 +08:00
|
|
|
.. _net_core_interface:
|
|
|
|
|
2019-02-19 19:56:51 +08:00
|
|
|
Network Core Helpers
|
|
|
|
####################
|
2019-02-01 23:11:18 +08:00
|
|
|
|
2019-02-27 21:29:53 +08:00
|
|
|
.. contents::
|
|
|
|
:local:
|
|
|
|
:depth: 2
|
|
|
|
|
2019-02-01 23:11:18 +08:00
|
|
|
Overview
|
|
|
|
********
|
|
|
|
|
2019-02-19 19:56:51 +08:00
|
|
|
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.
|
2019-02-01 23:11:18 +08:00
|
|
|
|
|
|
|
API Reference
|
|
|
|
*************
|
|
|
|
|
|
|
|
.. doxygengroup:: net_core
|
|
|
|
:project: Zephyr
|