linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtnetlink.7: Add info about ability to create links with given index
@ 2013-02-18 17:14 Pavel Emelyanov
       [not found] ` <51226176.9020203-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Emelyanov @ 2013-02-18 17:14 UTC (permalink / raw)
  To: Michael Kerrisk,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-28 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-18 17:14 [PATCH] rtnetlink.7: Add info about ability to create links with given index Pavel Emelyanov
     [not found] ` <51226176.9020203-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2013-02-28 14:14   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).