guacamole/wol-constants.h File Reference

Header file that provides constants and defaults related to libguac Wake-on-LAN support. More...

Go to the source code of this file.

Defines

#define GUAC_WOL_LOCAL_IPV4_BROADCAST   "255.255.255.255"
 The value for the local IPv4 broadcast address.
#define GUAC_WOL_PACKET_SIZE   102
 The size of the magic Wake-on-LAN packet to send to wake a remote host.
#define GUAC_WOL_PORT   9
 The port number that the magic packet should contain as the destination.

Detailed Description

Header file that provides constants and defaults related to libguac Wake-on-LAN support.


Define Documentation

#define GUAC_WOL_PACKET_SIZE   102

The size of the magic Wake-on-LAN packet to send to wake a remote host.

This consists of 6 bytes of 0xFF, and then the MAC address repeated 16 times. https://en.wikipedia.org/wiki/Wake-on-LAN#Magic_packet

#define GUAC_WOL_PORT   9

The port number that the magic packet should contain as the destination.

In reality this doesn't matter all that much, since the packet is not usually processed by a full IP stack, but defining one is considered a standard practice.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 27 Jul 2020 for libguac by  doxygen 1.6.1