From: Pavel Emelyanov <xemul-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
To: Michael Kerrisk
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH] rtnetlink.7: Add info about ability to create links with given index
Date: Mon, 18 Feb 2013 21:14:30 +0400 [thread overview]
Message-ID: <51226176.9020203@parallels.com> (raw)
Since kernel v3.7 the RTM_NEWLINK message not accepts non-zero values
in ifi_index field. Mention this fact in the respective rtneltlink.7
section.
Signed-off-by: Pavel Emelyanov <xemul-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
---
diff --git a/man7/rtnetlink.7 b/man7/rtnetlink.7
index ebd9107..0809026 100644
--- a/man7/rtnetlink.7
+++ b/man7/rtnetlink.7
@@ -78,7 +78,10 @@ struct ifinfomsg {
contains the device flags, see
.BR netdevice (7);
.I ifi_index
-is the unique interface index,
+is the unique interface index (since kernel v3.7 it is possible to feed a non-zero
+value with the
+.B RTM_NEWLINK
+message, thus creating a link with the given ifindex);
.I ifi_change
is reserved for future use and should be always set to 0xFFFFFFFF.
.na
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2013-02-18 17:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-18 17:14 Pavel Emelyanov [this message]
[not found] ` <51226176.9020203-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2013-02-28 14:14 ` [PATCH] rtnetlink.7: Add info about ability to create links with given index Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51226176.9020203@parallels.com \
--to=xemul-bzqdu9zft3wakbo8gow8eq@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.