smartalock / wireguard-lwip

WireGuard Implementation for lwIP
Other
193 stars 30 forks source link

Implementation on ESP8266 #1

Open LordBoBCUP opened 3 years ago

LordBoBCUP commented 3 years ago

Hi,

Trying to get this to work on an ESP8266 project (while I'm a complete novice which isnt helping) I cant figure out where in the code wireguard_interface is defined and I am getting compile errors such as error: aggregate 'wireguard_setup()::wireguard_interface wg' has incomplete type and cannot be defined. Any advice would be greatly appreciated on getting a connection up and running.

ErikDoell commented 3 years ago

This is an impelementation in C. Try extern "C" { #include "wireguard.h" #include "wireguardif.h" }

alejoseb commented 2 years ago

Hi, where is the wireguard_interface defined? I looked on all files and it is not defined.

bwindrim commented 2 years ago

struct wireguard_interface is now named struct wireguardif_init_data - the readme example code appears to be out of date with respect to the codebase.