rtnetlink.7: Add info about ability to create links with given index
PATCH 1/1 rtnetlink.7: Add info about ability to create links with given index
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 <[email protected]>
---
man7/rtnetlink.7 +4 -1
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Pavel Emelyanov
Since kernel v3.7 the
RTM_NEWLINKmessage not accepts non-zero values inifi_indexfield. Mention this fact in the respective rtneltlink.7 section.Signed-off-by Pavel Emelyanov <[email protected]>
Thanks Pavel. Applied.
Cheers,
Michael
Quoted 18 lines
---
man7/rtnetlink.7 +4
-1@@ -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
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html