Part 1
요약·해설
net_recv_data()의 driver 역할과 net_send_data() 대신 application에서 socket API를 써야 하는 경계를 설명합니다.
net_recv_data
net_send_data
BSD sockets
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
CA0D73028B1E43CA28F778A66DF6CE4F4A8DC7E693E7DDDA5F1FAA4A064CA9C8
.. _net_core_interface:
Network Core Helpers
####################
.. contents::
:local:
:depth: 2
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
Part 3
한국어 전문 번역
Network Core Helpers
Overview
net_recv_data()와 net_send_data()는 network subsystem의 수신·송신 함수입니다. Network device driver는 받은 data를 추가 처리용으로 network stack 상위에 올릴 때 일반적으로 net_recv_data()를 사용합니다. 모든 data는 대개 device driver가 만든 network interface를 통해 수신됩니다.
net_send_data()는 송신에 사용할 수 있습니다. Application에는 송수신용 BSD socket API가 있으므로 일반적으로 이 함수를 직접 호출하지 않습니다.
API Reference
Doxygen group net_core가 API reference를 제공합니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.