wg_softc
wg_socket_uninit(struct wg_softc *sc)
wg_socket_set_cookie(struct wg_softc *sc, uint32_t user_cookie)
wg_send(struct wg_softc *sc, struct wg_endpoint *e, struct mbuf *m)
wg_send_buf(struct wg_softc *sc, struct wg_endpoint *e, const void *buf,
wg_send_cookie(struct wg_softc *sc, struct cookie_macs *cm, uint32_t idx,
wg_is_underload(struct wg_softc *sc)
wg_handshake(struct wg_softc *sc, struct wg_packet *pkt)
struct wg_softc *sc = arg;
wg_encrypt(struct wg_softc *sc, struct wg_packet *pkt)
wg_decrypt(struct wg_softc *sc, struct wg_packet *pkt)
struct wg_softc *sc = arg;
struct wg_softc *sc = arg;
wg_encrypt_dispatch(struct wg_softc *sc)
wg_decrypt_dispatch(struct wg_softc *sc)
struct wg_softc *sc = peer->p_sc;
struct wg_softc *sc = peer->p_sc;
wg_input(struct wg_softc *sc, struct mbuf *m, const struct sockaddr *sa)
struct wg_softc *sc = arg;
struct wg_softc *sc = peer->p_sc;
struct wg_softc *p_sc;
struct wg_softc *sc = ifp->if_softc;
static int wg_up(struct wg_softc *);
static void wg_down(struct wg_softc *);
wg_ioctl_get(struct wg_softc *sc, struct wg_data_io *data, bool privileged)
wg_ioctl_set_peer(struct wg_softc *sc, const struct wg_peer_io *peer_p,
wg_ioctl_set(struct wg_softc *sc, const struct wg_data_io *data)
struct wg_softc *sc;
LIST_ENTRY(wg_softc) sc_entry;
wg_up(struct wg_softc *sc)
wg_down(struct wg_softc *sc)
struct wg_softc *sc;
struct wg_softc *sc = ifp->if_softc;
static LIST_HEAD(, wg_softc) wg_list = LIST_HEAD_INITIALIZER(wg_list);
static int wg_aip_add(struct wg_softc *, struct wg_peer *, sa_family_t,
wg_aip_lookup(struct wg_softc *, sa_family_t, const void *);
static void wg_aip_remove_all(struct wg_softc *, struct wg_peer *);
static void wg_send_cookie(struct wg_softc *, struct cookie_macs *,
wg_peer_create(struct wg_softc *sc, const uint8_t pub_key[WG_KEY_SIZE],
struct wg_softc *sc = peer->p_sc;
wg_peer_destroy_all(struct wg_softc *sc)
wg_aip_add(struct wg_softc *sc, struct wg_peer *peer, sa_family_t af,
wg_aip_lookup(struct wg_softc *sc, sa_family_t af, const void *a)
wg_aip_remove_all(struct wg_softc *sc, struct wg_peer *peer)
wg_socket_init(struct wg_softc *sc, in_port_t port)
test_aip_init(struct wg_softc *sc)
struct wg_softc sc;
test_aip_deinit(struct wg_softc *sc)
test_aip_peer_new(struct wg_softc *sc)
struct wg_softc sc;