aboutsummaryrefslogtreecommitdiff
path: root/networking/ether-wake.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ether-wake.c')
-rw-r--r--networking/ether-wake.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/networking/ether-wake.c b/networking/ether-wake.c
index 8f1479c02..7bb9aa5a7 100644
--- a/networking/ether-wake.c
+++ b/networking/ether-wake.c
@@ -64,6 +64,16 @@
64 * filter. That configuration consumes more power. 64 * filter. That configuration consumes more power.
65*/ 65*/
66 66
67//usage:#define ether_wake_trivial_usage
68//usage: "[-b] [-i iface] [-p aa:bb:cc:dd[:ee:ff]] MAC"
69//usage:#define ether_wake_full_usage "\n\n"
70//usage: "Send a magic packet to wake up sleeping machines.\n"
71//usage: "MAC must be a station address (00:11:22:33:44:55) or\n"
72//usage: "a hostname with a known 'ethers' entry.\n"
73//usage: "\nOptions:"
74//usage: "\n -b Send wake-up packet to the broadcast address"
75//usage: "\n -i iface Interface to use (default eth0)"
76//usage: "\n -p pass Append four or six byte password PW to the packet"
67 77
68#include <netpacket/packet.h> 78#include <netpacket/packet.h>
69#include <net/ethernet.h> 79#include <net/ethernet.h>