Advice on how to implement WOL in BusyBox

Hi There,

Just wondering if anyone can advise me whether there are libraries within BusyBox to support Wake-On-Lan.

I realize that BusyBox doesn’t have a specific WOL command, but I am hoping there might be some way to generate a magic packet and broadcast through layer 2 using some combination of commands / library calls.

I am by no means a unix guru, but am a reasonably good C developer so I am hoping I can put something together to accomplish what I am trying to do.

Many thanks for any advice you can offer.