summaryrefslogtreecommitdiffstats
path: root/src/wol.c
Commit message (Collapse)AuthorAgeFilesLines
* #915 consolidate WoL sender functionOpenGnSys Support Team2021-12-221-7/+53
| | | | | | | | This patch aims simplifies the WoL sender routine. A few related changes: - Replace goto err to continue if IP address is malformed - Use ret |= instead of ret &= to accumulate error code.
* #1043 fix timeout refreshOpenGnSys Support Team2021-11-231-6/+5
| | | | | as described by man(3) ev, to make it work with ev_timer_again() otherwise timer might not ever expire.
* ogServer is AGPLv3+OpenGnSys Support Team2021-05-041-2/+3
| | | | Update license header in files.
* #1043 add WOL_SENT stateOpenGnSys Support Team2021-04-291-0/+50
| | | | | WOL_SENT tells that WakeOnLan was sent to computer, after 60 seconds, if computer does not boot, this state is released.
* #988 remove legacy configurationOpenGnSys Support Team2020-10-071-1/+2
| | | | | Use og_server_cfg everywhere. Convert port to string to make it easy for the dbi API since it expects a string. Remove legacy example configuration file.
* #990 add wol_socket_open()OpenGnSys Support Team2020-08-061-0/+20
| | | | Add wol_socket_open() to initialize the WoL socket
* #971 split wake on lan codeOpenGnSys Support Team2020-07-061-0/+67
Add wol.c and wol.h that implements WakeOnLan.