Home | History | Annotate | Download | only in net

Lines Matching refs:wol

10 #include "wol.h"
19 * @param wol Wake-on-LAN packet
22 static int wol_check_magic(struct wol_hdr *wol, unsigned int len)
30 if (wol->wol_sync[i] != WOL_SYNC_BYTE)
34 if (memcmp(&wol->wol_dest[i * ARP_HLEN],
43 struct wol_hdr *wol;
45 wol = (struct wol_hdr *)ip;
47 if (!wol_check_magic(wol, len))
53 eth_env_set_enetaddr("wolpassword", wol->wol_passwd);
56 struct in_addr *ip = (struct in_addr *)(wol->wol_passwd);
67 struct wol_hdr *wol;
69 wol = (struct wol_hdr *)pkt;
75 if (!wol_check_magic(wol, len))