feat: split daemon activation into bare bring-up and setPrimary

This commit is contained in:
cd-amn
2026-05-18 16:44:42 +00:00
parent adb8eb4937
commit 864b8c6f8a
21 changed files with 295 additions and 427 deletions
@@ -39,8 +39,6 @@ typedef struct wg_allowedip {
struct wg_allowedip *next_allowedip;
} wg_allowedip;
constexpr const char* WG_INTERFACE = "amn0";
static void nlmsg_append_attr(struct nlmsghdr* nlmsg, size_t maxlen,
int attrtype, const void* attrdata,
size_t attrlen);