summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-04-14 14:18:51 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-25 10:50:56 +0200
commit20b0e6d39ac17b1a29c9e67eb434936e03844efe (patch)
tree06237a55b2f69fc3b291d4f17c95c2d0bf4b2676 /Documentation
parentf9e6bff87eb06dd3706ba42bf0224d4fa33d5f41 (diff)
downloadlinux-20b0e6d39ac17b1a29c9e67eb434936e03844efe.tar.gz
linux-20b0e6d39ac17b1a29c9e67eb434936e03844efe.tar.bz2
linux-20b0e6d39ac17b1a29c9e67eb434936e03844efe.zip
netlink: specs: rt-neigh: prefix struct nfmsg members with ndm
[ Upstream commit e31f86ee4b9ccb844baf2131da8e5d4d6f23aa1d ] Attach ndm- to all members of struct nfmsg. We could possibly use name-prefix just for C, but I don't think we have any precedent for using name-prefix on structs, and other rtnetlink sub-specs give full names for fixed header struct members. Fixes: bc515ed06652 ("netlink: specs: Add a spec for neighbor tables in rtnetlink") Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20250414211851.602096-9-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/netlink/specs/rt_neigh.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/netlink/specs/rt_neigh.yaml b/Documentation/netlink/specs/rt_neigh.yaml
index a1e137a16abd..a843caa72259 100644
--- a/Documentation/netlink/specs/rt_neigh.yaml
+++ b/Documentation/netlink/specs/rt_neigh.yaml
@@ -13,25 +13,25 @@ definitions:
type: struct
members:
-
- name: family
+ name: ndm-family
type: u8
-
- name: pad
+ name: ndm-pad
type: pad
len: 3
-
- name: ifindex
+ name: ndm-ifindex
type: s32
-
- name: state
+ name: ndm-state
type: u16
enum: nud-state
-
- name: flags
+ name: ndm-flags
type: u8
enum: ntf-flags
-
- name: type
+ name: ndm-type
type: u8
enum: rtm-type
-