History

ethtool: Expand documentation of struct ethtool_wol

Ben Hutchings committed 12 years ago

Commit 02d59f31 parent daba1b61 file · +11 −2Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/ethtool.h+11−2
@@ -186,12 +186,21 @@ struct ethtool_drvinfo { · 185 unmodified lines
186};186};
187 187
188#define SOPASS_MAX 6188#define SOPASS_MAX 6
189/* wake-on-lan settings */189
190/**
191 * struct ethtool_wolinfo - Wake-On-Lan configuration
192 * @cmd: Command number = %ETHTOOL_GWOL or %ETHTOOL_SWOL
193 * @supported: Bitmask of %WAKE_* flags for supported Wake-On-Lan modes.
194 * Read-only.
195 * @wolopts: Bitmask of %WAKE_* flags for enabled Wake-On-Lan modes.
196 * @sopass: SecureOn(tm) password; meaningful only if %WAKE_MAGICSECURE
197 * is set in @wolopts.
198 */
190struct ethtool_wolinfo {199struct ethtool_wolinfo {
191 __u32 cmd;200 __u32 cmd;
192 __u32 supported;201 __u32 supported;
193 __u32 wolopts;202 __u32 wolopts;
194 __u8 sopass[SOPASS_MAX]; /* SecureOn(tm) password */203 __u8 sopass[SOPASS_MAX];
195};204};
196 205
197/* for passing single values */206/* for passing single values */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t