V2EX  ›  英汉词典
Enqueued related words: Iproute2

RTNETLINK

释义 Definition

RTNETLINK 指 Linux 内核中用于“路由/网络配置”相关消息的一类 Netlink 通信接口与消息族(常见于 ip 等工具操作网络接口、路由、地址时)。当系统提示如 “RTNETLINK answers: …” 时,通常表示内核通过 netlink 返回了错误或结果信息。

发音 Pronunciation (IPA)

/ˌɑːr tiː ˈnɛt lɪŋk/

例句 Examples

RTNETLINK answers: Operation not permitted.
RTNETLINK 回复:不允许的操作。

When the script tried to add a route with ip route add, RTNETLINK returned “File exists,” indicating the route was already present in the kernel table.
当脚本用 ip route add 添加路由时,RTNETLINK 返回“文件已存在”,说明该路由已在内核路由表中。

词源 Etymology

RTNETLINK 可理解为 RT (routing,路由) + netlink(内核与用户态通信机制) 的组合称呼。它源自 Linux 网络子系统:用户态工具(如 iproute2ip)通过 netlink socket 向内核发送与路由、地址、链路等相关的请求,内核以 RTNETLINK 类消息进行应答。

相关词 Related Words

文献与作品 Literary / Notable Works

  • *netlink(7)*(Linux man-pages:Netlink 套接字接口说明,涉及路由相关 netlink 用法)
  • *ip(8)ip-route(8)*(iproute2 的手册页:常见 “RTNETLINK answers: …” 报错来源)
  • Understanding Linux Network Internals(Christian Benvenuti,讲解 Linux 网络栈与 netlink/路由机制)
  • Linux Networking Cookbook(示例与故障排查中常出现 RTNETLINK 报错与解释)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2180 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 04:22 · PVG 12:22 · LAX 20:22 · JFK 23:22
♥ Do have faith in what you're doing.