Re: [PATCH] rtnetlink.7: Add info about ability to create links with given index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 18, 2013 at 6:14 PM, Pavel Emelyanov <xemul@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>

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


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux