summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wake
Commit message (Collapse)AuthorAgeFilesLines
* Exit with proper status when wake() fails.jh2012-02-241-5/+8
| | | | | | PR: bin/153527 Submitted by: Douglas Steinwand MFC after: 2 weeks
* style(9).jh2012-02-241-4/+4
| | | | MFC after: 2 weeks
* Anything that casts struct sockaddr * to struct sockaddr_foo is safeimp2010-02-091-0/+2
| | | | | | | | | | | | | due to careful design. We've not yet figured out how to properly annotate the sockaddr structs to communicate this to the compiler and there's a number of constructs in the tree that make this annotation challenging. As such, reduce warns to 3 here because this code really isn't warns 6 safe, even if it kinda sorta appears to be on intel (which has no such alignment restrictions). Warns 4 adds the -Wcast-align warning. # fixes the mips tinderbox build
* If there is only one NIC in the system that is up and running, thembr2010-02-082-45/+86
| | | | | | | | | interface specifier on the command line can be ommited. Besides of this, the bpf is being reused for each machine that has to be woken up. Submitted by: Marc Balmer <marc@msys.ch>
* Make it clear that "interface" is one out of possibly many interface of thembr2010-01-021-2/+2
| | | | | | | local machine (s/the network interface/a network interface). Submitted by: Marc Balmer <marc@msys.ch> MFC after: 3 days
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-1/+0
|
* Fix wake(8) synopsis to make it clear that at least one lladdr is requiredrwatson2009-12-262-2/+3
| | | | | | | as an argument. Submitted by: Marc Balmer <marc@msys.ch> MFC after: 3 days
* Use our canonical .Dd format.brueffer2009-11-021-1/+1
| | | | Submitted by: Ulrich Spoerlein
* - Properly order headers, local variables and prototypes. [1]stas2009-07-011-18/+11
| | | | | | | | - Remove unneeded headers. - Return non-zero error code in usage(). Approved by: re (kib) Suggested by: bde [1]
* - Fix the bug in write(2) called with incorrect parameters resulting in writesstas2009-07-012-52/+64
| | | | | | | | | | | | | always started from the start of the packet. - Fix usage string (multiple addresses can be specified). - Make the source more style(9) compliant. - Improve error reporting (do not silently fail if something goes wrong). - Make functions static. - Use warns level 6. Approved by: re (kib) Discussed with: Marc Balmer <marc@msys.ch>, brian, mbr
* Compiles without higher warn levelmbr2009-06-301-2/+0
| | | | | | M wake/Makefile Approved by: re (previous commit)
* Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet networkmbr2009-06-303-0/+243
Submitted by: Marc Balmer <marc@msys.ch> Reviewed by: rwatson Approved by: re M usr.sbin/Makefile A usr.sbin/wake AM usr.sbin/wake/wake.c AM usr.sbin/wake/Makefile AM usr.sbin/wake/wake.8
OpenPOWER on IntegriCloud