Re: netdevice.7 SIOCGIFFLAGS/SIOCSIFFLAGS

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

 



Hi,

On Fri, 19 Mar 2021 at 20:53, Alejandro Colomar (man-pages)
<alx.manpages@xxxxxxxxx> wrote:
> On 3/17/21 3:12 PM, Erik Flodin wrote:
> > The documentation for SIOCGIFFLAGS/SIOCSIFFLAGS in netdevice.7 lists
> > IFF_LOWER_UP, IFF_DORMANT and IFF_ECHO, but those can't be set in
> > ifr_flags as it is only a short and the flags start at 1<<16.
> >
> > See also https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=746e6ad23cd6fec2edce056e014a0eabeffa838c
> >
>
> I don't know what's the history of that.

Judging from commit message in the commit linked above it was added by
mistake. As noted the flags are accessible via netlink, just not via
SIOCGIFFLAGS.

// Erik



[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