Home
last modified time | relevance | path

Searched refs:wol_hdr (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/net/
H A Dwol.c22 static int wol_check_magic(struct wol_hdr *wol, unsigned int len) in wol_check_magic()
26 if (len < sizeof(struct wol_hdr)) in wol_check_magic()
43 struct wol_hdr *wol; in wol_receive()
45 wol = (struct wol_hdr *)ip; in wol_receive()
52 if (len >= (sizeof(struct wol_hdr) + WOL_PASSWORD_6B)) { in wol_receive()
54 } else if (len >= (sizeof(struct wol_hdr) + WOL_PASSWORD_4B)) { in wol_receive()
67 struct wol_hdr *wol; in wol_udp_handler()
69 wol = (struct wol_hdr *)pkt; in wol_udp_handler()
H A Dwol.h31 struct wol_hdr { struct