mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 06:14:27 +00:00
syncache_lookup() is a file local function. Make it static and
take it out of the public KPI; seems it was never used elsewhere. MFC after: 2 weeks
This commit is contained in:
parent
4fd2b4eb53
commit
ad494fa898
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266619
|
@ -122,7 +122,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);
|
||||
|
@ -482,7 +481,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;
|
||||
|
|
Loading…
Reference in a new issue