bug-hurd
[Top][All Lists]
Advanced

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

Re: The patch of gnumach to enable the user to set the network device in


From: Samuel Thibault
Subject: Re: The patch of gnumach to enable the user to set the network device into the promiscuous mode
Date: Fri, 8 Aug 2008 20:33:22 +0100
User-agent: Mutt/1.5.12-2006-07-14

Hello,

zhengda, le Fri 08 Aug 2008 06:44:16 +0200, a écrit :
> +    dev->flags = (flags &
> +            (IFF_BROADCAST | IFF_DEBUG | IFF_LOOPBACK |
> +             IFF_POINTOPOINT | IFF_NOTRAILERS | IFF_RUNNING |
> +             IFF_NOARP | IFF_PROMISC | IFF_ALLMULTI | IFF_SLAVE
> +             | IFF_MASTER | IFF_MULTICAST))
> +        | (dev->flags & (IFF_SOFTHEADERS|IFF_UP));

Just to make sure: are all of these safe to let userland set?

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]