Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106130551
D27559.id80619.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D27559.id80619.diff
View Options
Index: head/sys/dev/if_wg/include/sys/if_wg_session_vars.h
===================================================================
--- head/sys/dev/if_wg/include/sys/if_wg_session_vars.h
+++ head/sys/dev/if_wg/include/sys/if_wg_session_vars.h
@@ -274,9 +274,6 @@
int t_mtu;
};
-int wg_route_add(struct wg_route_table *tbl, struct wg_peer *peer,
- const struct wg_allowedip *cidr_);
-
struct wg_peer *wg_route_lookup(struct wg_route_table *, struct mbuf *,
enum route_direction);
Index: head/sys/dev/if_wg/include/sys/wg_module.h
===================================================================
--- head/sys/dev/if_wg/include/sys/wg_module.h
+++ head/sys/dev/if_wg/include/sys/wg_module.h
@@ -47,8 +47,6 @@
#include <zinc/chacha20poly1305.h>
#include <crypto/blake2s.h>
-MALLOC_DECLARE(M_WG);
-
enum noise_lengths {
NOISE_PUBLIC_KEY_LEN = CURVE25519_KEY_SIZE,
Index: head/sys/dev/if_wg/module/if_wg_session.c
===================================================================
--- head/sys/dev/if_wg/module/if_wg_session.c
+++ head/sys/dev/if_wg/module/if_wg_session.c
@@ -113,7 +113,6 @@
#define DPRINTF(sc, ...) if (wireguard_debug) if_printf(sc->sc_ifp, ##__VA_ARGS__)
/* Socket */
-int wg_socket_close(struct wg_socket *);
static int wg_socket_bind(struct wg_softc *sc, struct wg_socket *);
static int wg_send(struct wg_softc *, struct wg_endpoint *, struct mbuf *);
@@ -145,9 +144,6 @@
/* Queue */
static int wg_queue_in(struct wg_peer *, struct mbuf *);
static struct mbuf *wg_queue_dequeue(struct wg_queue *, struct wg_tag **);
-
-/* Route */
-void wg_route_destroy(struct wg_route_table *);
/* Cookie */
Index: head/sys/modules/if_wg/Makefile
===================================================================
--- head/sys/modules/if_wg/Makefile
+++ head/sys/modules/if_wg/Makefile
@@ -14,7 +14,6 @@
CFLAGS+= -I${INCDIR}
CFLAGS+= -D__KERNEL__
-CFLAGS+= -ferror-limit=7
DEBUG_FLAGS=-g
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 10:01 PM (10 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15603784
Default Alt Text
D27559.id80619.diff (1 KB)
Attached To
Mode
D27559: if_wg: appease gcc
Attached
Detach File
Event Timeline
Log In to Comment