tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: IFCAP_WOL
On Sun, Mar 07, 2010 at 06:57:03PM +0900, SAITOH Masanobu wrote:
> 0) Add the following definitions into net/if.h for the capability and
> enabled flag.
>
> #define IFCAP_WOL_UCAST 0x080000 /* wake on any unicast frame */
> #define IFCAP_WOL_MCAST 0x100000 /* wake on any multicast frame */
> #define IFCAP_WOL_MAGIC 0x200000 /* wake on any Magic Packet */
>
> #define IFCAP_WOL (IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC)
>
> 1) Add [-]wol, [-]wol_ucast, [-]wol_mcast and [-]wol_magic flags into
> ifconfig(8).
Are those the only three options supported by hardware?
Joerg
Home |
Main Index |
Thread Index |
Old Index