summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2014-08-16 14:03:00 +0000
committerbz <bz@FreeBSD.org>2014-08-16 14:03:00 +0000
commitf8953220b84d62b9c5a08e94c87f3f3d03f49fae (patch)
tree745f33095ddb1e3376cefca4b5dbd0092939dff0 /sys/netinet
parenta0d38198452e79a7d1fb0f1837a8a2562f91a102 (diff)
downloadFreeBSD-src-f8953220b84d62b9c5a08e94c87f3f3d03f49fae.zip
FreeBSD-src-f8953220b84d62b9c5a08e94c87f3f3d03f49fae.tar.gz
MFC r266619:
syncache_lookup() is a file local function. Make it static and take it out of the public KPI; seems it was never used elsewhere.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_syncache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 2ade9ee..1ad4a5f 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -121,7 +121,6 @@ SYSCTL_VNET_INT(_net_inet_tcp, OID_AUTO, syncookies_only, CTLFLAG_RW,
static void syncache_drop(struct syncache *, struct syncache_head *);
static void syncache_free(struct syncache *);
static void syncache_insert(struct syncache *, struct syncache_head *);
-struct syncache *syncache_lookup(struct in_conninfo *, struct syncache_head **);
static int syncache_respond(struct syncache *);
static struct socket *syncache_socket(struct syncache *, struct socket *,
struct mbuf *m);
@@ -492,7 +491,7 @@ syncache_timer(void *xsch)
* Find an entry in the syncache.
* Returns always with locked syncache_head plus a matching entry or NULL.
*/
-struct syncache *
+static struct syncache *
syncache_lookup(struct in_conninfo *inc, struct syncache_head **schp)
{
struct syncache *sc;
OpenPOWER on IntegriCloud