요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /config/usb-gadget/gadget/functions/rndis.name
2
Date: Jun 2013
3
KernelVersion: 3.11
4
Description:
5
The attributes:
7
========= =============================================
8
ifname network device interface name associated with
9
this function instance
10
qmult queue length multiplier for high and
11
super speed
12
host_addr MAC address of host's end of this
13
Ethernet over USB link
14
dev_addr MAC address of device's end of this
15
Ethernet over USB link
16
class USB interface class, default is 02 (hex)
17
subclass USB interface subclass, default is 06 (hex)
18
protocol USB interface protocol, default is 00 (hex)
19
========= =============================================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
RNDIS function instance attributes
1-19| 항목 | 내용 |
|---|---|
| What | /config/usb-gadget/gadget/functions/rndis.name |
| Date | 2013년 6월 |
| KernelVersion | 3.11 |
| Attribute | 설명 |
|---|---|
| ifname | 이 function instance와 연관된 network device interface 이름 |
| qmult | High speed와 super speed에서 사용하는 queue length multiplier |
| host_addr | Ethernet over USB link의 host 쪽 MAC address |
| dev_addr | Ethernet over USB link의 device 쪽 MAC address |
| class | USB interface class, 기본값은 hexadecimal 02 |
| subclass | USB interface subclass, 기본값은 hexadecimal 06 |
| protocol | USB interface protocol, 기본값은 hexadecimal 00 |
Host network endpoint→host_addr→USB RNDIS link→dev_addr→Gadget network endpoint→ifname
RNDIS USB interface→class 0x02→subclass 0x06→protocol 0x00→Host에 interface descriptor 보고
High / super speed→qmult→Queue length multiplier
RNDIS function은 Ethernet-over-USB endpoint와 host enumeration에 쓰이는 interface class triple을 함께 구성한다.
RNDIS network endpoints와 interface identity
configfs-usb-gadget-rndis:1-19Ethernet-over-USB 양 끝의 network 설정과 host에 보고할 USB interface descriptor class triple을 구성합니다.