-/* $OpenBSD: if_wg.c,v 1.23 2022/03/17 18:27:56 sthen Exp $ */
+/* $OpenBSD: if_wg.c,v 1.24 2022/03/17 18:51:56 tb Exp $ */
/*
* Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
void wg_send_initiation(void *);
void wg_send_response(struct wg_peer *);
void wg_send_cookie(struct wg_softc *, struct cookie_macs *, uint32_t,
- struct wg_endpoint *e);
+ struct wg_endpoint *);
void wg_send_keepalive(void *);
void wg_peer_clear_secrets(void *);
void wg_handshake(struct wg_softc *, struct mbuf *);
-/* $OpenBSD: wg_cookie.c,v 1.3 2021/03/10 10:21:48 jsg Exp $ */
+/* $OpenBSD: wg_cookie.c,v 1.4 2022/03/17 18:51:56 tb Exp $ */
/*
* Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
* Copyright (C) 2019-2020 Matt Dunwoodie <ncon@noconroy.net>
static int cookie_timer_expired(struct timespec *, time_t, long);
static void cookie_checker_make_cookie(struct cookie_checker *,
uint8_t[COOKIE_COOKIE_SIZE], struct sockaddr *);
-static int ratelimit_init(struct ratelimit *, struct pool *pool);
+static int ratelimit_init(struct ratelimit *, struct pool *);
static void ratelimit_deinit(struct ratelimit *);
static void ratelimit_gc(struct ratelimit *, int);
static int ratelimit_allow(struct ratelimit *, struct sockaddr *);