요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
.. _net:
######################
Digital TV Network API
######################
The Digital TV net device controls the mapping of data packages that are part
of a transport stream to be mapped into a virtual network interface,
visible through the standard Linux network protocol stack.
Currently, two encapsulations are supported:
- `Multi Protocol Encapsulation (MPE) <http://en.wikipedia.org/wiki/Multiprotocol_Encapsulation>`__
- `Ultra Lightweight Encapsulation (ULE) <http://en.wikipedia.org/wiki/Unidirectional_Lightweight_Encapsulation>`__
In order to create the Linux virtual network interfaces, an application
needs to tell to the Kernel what are the PIDs and the encapsulation
types that are present on the transport stream. This is done through
``/dev/dvb/adapter?/net?`` device node. The data will be available via
virtual ``dvb?_?`` network interfaces, and will be controlled/routed via
the standard ip tools (like ip, route, netstat, ifconfig, etc).
Data types and ioctl definitions are defined via ``linux/dvb/net.h``
header.
.. _net_fcalls:
Digital TV net Function Calls
#############################
.. toctree::
:maxdepth: 1
net-types
net-add-if
net-remove-if
net-get-if
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Transport stream을 virtual network로 mapping
1-41Digital TV net device는 transport stream 안의 data packet을 standard Linux network protocol stack에서 보이는 virtual network interface로 mapping합니다.
현재 MPE와 ULE 두 형식을 지원합니다.
응용 프로그램은 transport stream에 있는 PID와 encapsulation type을 `/dev/dvb/adapter?/net?` device node로 kernel에 알려야 합니다. 그러면 data가 virtual `dvb?_?` interface에 나타납니다.
생성된 interface는 `ip`, `route`, `netstat`, `ifconfig` 같은 표준 network tool로 제어하고 routing합니다. Data type과 ioctl은 `linux/dvb/net.h`에 정의됩니다.
Transport stream에서 Linux network stack까지의 흐름입니다.
toctree에 연결된 type과 ioctl 문서입니다.
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
.. _net:
######################
Digital TV Network API
######################
The Digital TV net device controls the mapping of data packages that are part
of a transport stream to be mapped into a virtual network interface,
visible through the standard Linux network protocol stack.
Currently, two encapsulations are supported:
- `Multi Protocol Encapsulation (MPE) <http://en.wikipedia.org/wiki/Multiprotocol_Encapsulation>`__
- `Ultra Lightweight Encapsulation (ULE) <http://en.wikipedia.org/wiki/Unidirectional_Lightweight_Encapsulation>`__
In order to create the Linux virtual network interfaces, an application
needs to tell to the Kernel what are the PIDs and the encapsulation
types that are present on the transport stream. This is done through
``/dev/dvb/adapter?/net?`` device node. The data will be available via
virtual ``dvb?_?`` network interfaces, and will be controlled/routed via
the standard ip tools (like ip, route, netstat, ifconfig, etc).
Data types and ioctl definitions are defined via ``linux/dvb/net.h``
header.
.. _net_fcalls:
Digital TV net Function Calls
#############################
.. toctree::
:maxdepth: 1
net-types
net-add-if
net-remove-if
net-get-if
요약·해설
net.rst:1-41MPE·ULE로 encapsulate된 PID를 virtual `dvb?_?` interface에 연결하고 표준 Linux IP tool로 제어합니다.