lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250722171715143m_elFTGAEIz05jNa7LFwy@zte.com.cn>
Date: Tue, 22 Jul 2025 17:17:15 +0800 (CST)
From: <wang.yaxin@....com.cn>
To: <wang.yaxin@....com.cn>
Cc: <alexs@...nel.org>, <si.yanteng@...ux.dev>, <corbet@....net>,
        <linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <xu.xin16@....com.cn>, <yang.yang29@....com.cn>, <fan.yu9@....com.cn>,
        <he.peilin@....com.cn>, <tu.qiang35@....com.cn>,
        <qiu.yutan@....com.cn>, <zhang.yunkai@....com.cn>,
        <sun.yuxi@....com.cn>, <jiang.kun2@....com.cn>
Subject: [PATCH 2/4 linux-next] Docs/zh_CN: Translate skbuff.rst to Simplified  Chinese

From: Wang Yaxin <wang.yaxin@....com.cn>

translate the "skbuff.rst" into Simplified Chinese.

Update the translation through commit 9facd94114b5
("skbuff: render the checksum comment to documentation")

Signed-off-by: Wang Yaxin <wang.yaxin@....com.cn>
Signed-off-by: Sun yuxi <sun.yuxi@....com.cn>
---
 .../translations/zh_CN/networking/index.rst   |  2 +-
 .../translations/zh_CN/networking/skbuff.rst  | 44 +++++++++++++++++++
 2 files changed, 45 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/networking/skbuff.rst

diff --git a/Documentation/translations/zh_CN/networking/index.rst b/Documentation/translations/zh_CN/networking/index.rst
index 6e1c1df4a980..e03b5d5d39ee 100644
--- a/Documentation/translations/zh_CN/networking/index.rst
+++ b/Documentation/translations/zh_CN/networking/index.rst
@@ -28,6 +28,7 @@
    netmem
    alias
    mptcp-sysctl
+   skbuff
 
 Todolist:
 
@@ -126,7 +127,6 @@ Todolist:
 *   sctp
 *   secid
 *   seg6-sysctl
-*   skbuff
 *   smc-sysctl
 *   sriov
 *   statistics
diff --git a/Documentation/translations/zh_CN/networking/skbuff.rst b/Documentation/translations/zh_CN/networking/skbuff.rst
new file mode 100644
index 000000000000..2624ea8e8e05
--- /dev/null
+++ b/Documentation/translations/zh_CN/networking/skbuff.rst
@@ -0,0 +1,44 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/networking/skbuff.rst
+
+:翻译:
+
+   王亚鑫 Wang Yaxin <wang.yaxin@....com.cn>
+
+struct sk_buff
+==============
+
+:c:type:`sk_buff` 是表示数据包的主要网络结构体。
+
+基本sk_buff几何结构
+-------------------
+
+.. kernel-doc:: include/linux/skbuff.h
+   :doc: Basic sk_buff geometry
+
+共享skb和skb克隆
+----------------
+
+:c:member:`sk_buff.users` 是一个简单的引用计数,允许
+多个实体保持 struct sk_buff 存活。 ``sk_buff.users != 1``
+的 skb 被称为共享 skb(参见 skb_shared())。
+
+skb_clone() 允许快速复制 skb。不会复制任何数据缓冲区,
+但调用者会获得一个新的元数据结构体(struct sk_buff)。
+&skb_shared_info.refcount 表示指向同一数据包数据的
+skb 数量(即克隆)。
+
+数据引用和无头skb
+-----------------
+
+.. kernel-doc:: include/linux/skbuff.h
+   :doc: dataref and headerless skbs
+
+校验和信息
+----------
+
+.. kernel-doc:: include/linux/skbuff.h
+   :doc: skb checksums
-- 
2.25.1
<div class="zcontentRow"><p>From: Wang Yaxin &lt;wang.yaxin@....com.cn&gt;</p><p><br></p><p>translate the "skbuff.rst" into Simplified Chinese.</p><p><br></p><p>Update the translation through commit 9facd94114b5</p><p>("skbuff: render the checksum comment to documentation")</p><p><br></p><p>Signed-off-by: Wang Yaxin &lt;wang.yaxin@....com.cn&gt;</p><p>Signed-off-by: Sun yuxi &lt;sun.yuxi@....com.cn&gt;</p><p>---</p><p>&nbsp;.../translations/zh_CN/networking/index.rst&nbsp; &nbsp;|&nbsp; 2 +-</p><p>&nbsp;.../translations/zh_CN/networking/skbuff.rst&nbsp; | 44 +++++++++++++++++++</p><p>&nbsp;2 files changed, 45 insertions(+), 1 deletion(-)</p><p>&nbsp;create mode 100644 Documentation/translations/zh_CN/networking/skbuff.rst</p><p><br></p><p>diff --git a/Documentation/translations/zh_CN/networking/index.rst b/Documentation/translations/zh_CN/networking/index.rst</p><p>index 6e1c1df4a980..e03b5d5d39ee 100644</p><p>--- a/Documentation/translations/zh_CN/networking/index.rst</p><p>+++ b/Documentation/translations/zh_CN/networking/index.rst</p><p>@@ -28,6 +28,7 @@</p><p>&nbsp; &nbsp; netmem</p><p>&nbsp; &nbsp; alias</p><p>&nbsp; &nbsp; mptcp-sysctl</p><p>+&nbsp; &nbsp;skbuff</p><p>&nbsp;</p><p>&nbsp;Todolist:</p><p>&nbsp;</p><p>@@ -126,7 +127,6 @@ Todolist:</p><p>&nbsp;*&nbsp; &nbsp;sctp</p><p>&nbsp;*&nbsp; &nbsp;secid</p><p>&nbsp;*&nbsp; &nbsp;seg6-sysctl</p><p>-*&nbsp; &nbsp;skbuff</p><p>&nbsp;*&nbsp; &nbsp;smc-sysctl</p><p>&nbsp;*&nbsp; &nbsp;sriov</p><p>&nbsp;*&nbsp; &nbsp;statistics</p><p>diff --git a/Documentation/translations/zh_CN/networking/skbuff.rst b/Documentation/translations/zh_CN/networking/skbuff.rst</p><p>new file mode 100644</p><p>index 000000000000..2624ea8e8e05</p><p>--- /dev/null</p><p>+++ b/Documentation/translations/zh_CN/networking/skbuff.rst</p><p>@@ -0,0 +1,44 @@</p><p>+.. SPDX-License-Identifier: GPL-2.0</p><p>+</p><p>+.. include:: ../disclaimer-zh_CN.rst</p><p>+</p><p>+:Original: Documentation/networking/skbuff.rst</p><p>+</p><p>+:翻译:</p><p>+</p><p>+&nbsp; &nbsp;王亚鑫 Wang Yaxin &lt;wang.yaxin@....com.cn&gt;</p><p>+</p><p>+struct sk_buff</p><p>+==============</p><p>+</p><p>+:c:type:`sk_buff` 是表示数据包的主要网络结构体。</p><p>+</p><p>+基本sk_buff几何结构</p><p>+-------------------</p><p>+</p><p>+.. kernel-doc:: include/linux/skbuff.h</p><p>+&nbsp; &nbsp;:doc: Basic sk_buff geometry</p><p>+</p><p>+共享skb和skb克隆</p><p>+----------------</p><p>+</p><p>+:c:member:`sk_buff.users` 是一个简单的引用计数,允许</p><p>+多个实体保持 struct sk_buff 存活。 ``sk_buff.users != 1``</p><p>+的 skb 被称为共享 skb(参见 skb_shared())。</p><p>+</p><p>+skb_clone() 允许快速复制 skb。不会复制任何数据缓冲区,</p><p>+但调用者会获得一个新的元数据结构体(struct sk_buff)。</p><p>+&amp;skb_shared_info.refcount 表示指向同一数据包数据的</p><p>+skb 数量(即克隆)。</p><p>+</p><p>+数据引用和无头skb</p><p>+-----------------</p><p>+</p><p>+.. kernel-doc:: include/linux/skbuff.h</p><p>+&nbsp; &nbsp;:doc: dataref and headerless skbs</p><p>+</p><p>+校验和信息</p><p>+----------</p><p>+</p><p>+.. kernel-doc:: include/linux/skbuff.h</p><p>+&nbsp; &nbsp;:doc: skb checksums</p><p>--&nbsp;</p><p>2.25.1</p></div>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ