All of lore.kernel.org
 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

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

* Re: [PATCH] rtnetlink.7: Add info about ability to create links with given index
       [not found] ` <51226176.9020203-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
@ 2013-02-28 14:14   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2013-02-28 14:14 UTC (permalink / raw)
  To: Pavel Emelyanov; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

On Mon, Feb 18, 2013 at 6:14 PM, Pavel Emelyanov <xemul-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org> wrote:
> 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>

Thanks Pavel. Applied.

Cheers,

Michael

> ---
>
> 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



-- 
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[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 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.