← Documents Documentation/userspace-api/media/dvb/net.rst GitHub 원문 ↗

Linux 6.18.37 · Userspace API / Media / DVB / Network

Digital TV Network API

Transport stream의 IP packet을 Linux virtual network interface로 mapping합니다.

Source pathDocumentation/userspace-api/media/dvb/net.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

net.rst:1-41

MPE·ULE로 encapsulate된 PID를 virtual `dvb?_?` interface에 연결하고 표준 Linux IP tool로 제어합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3 .. _net:
4
5 ######################
6 Digital TV Network API
7 ######################
8
9 The Digital TV net device controls the mapping of data packages that are part
10 of a transport stream to be mapped into a virtual network interface,
11 visible through the standard Linux network protocol stack.
12
13 Currently, two encapsulations are supported:
14
15 - `Multi Protocol Encapsulation (MPE) <http://en.wikipedia.org/wiki/Multiprotocol_Encapsulation>`__
16
17 - `Ultra Lightweight Encapsulation (ULE) <http://en.wikipedia.org/wiki/Unidirectional_Lightweight_Encapsulation>`__
18
19 In order to create the Linux virtual network interfaces, an application
20 needs to tell to the Kernel what are the PIDs and the encapsulation
21 types that are present on the transport stream. This is done through
22 ``/dev/dvb/adapter?/net?`` device node. The data will be available via
23 virtual ``dvb?_?`` network interfaces, and will be controlled/routed via
24 the standard ip tools (like ip, route, netstat, ifconfig, etc).
25
26 Data types and ioctl definitions are defined via ``linux/dvb/net.h``
27 header.
28
29
30 .. _net_fcalls:
31
32 Digital TV net Function Calls
33 #############################
34
35 .. toctree::
36 :maxdepth: 1
37
38 net-types
39 net-add-if
40 net-remove-if
41 net-get-if
42

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Transport stream을 virtual network로 mapping

1-41

Digital TV net device는 transport stream 안의 data packet을 standard Linux network protocol stack에서 보이는 virtual network interface로 mapping합니다.

지원 encapsulation
형식역할
Multi Protocol Encapsulation (MPE)DVB transport stream에서 IP datagram 전달
Ultra Lightweight Encapsulation (ULE)단방향 link용 경량 encapsulation

현재 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`에 정의됩니다.

DVB IP data 경로
Transport stream에서 IP data PID 수신MPE 또는 ULE decapsulation/dev/dvb/adapter?/net?에서 PID와 type 구성Virtual dvb?_? network interface 생성표준 Linux IP stack과 routing tool에서 사용

Transport stream에서 Linux network stack까지의 흐름입니다.

Network API 하위 호출
문서기능
net-typesdvb_net_if data type
net-add-ifinterface 생성
net-remove-ifinterface 제거
net-get-ifinterface 설정 조회

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