summaryrefslogtreecommitdiffstats
path: root/sys/net/if_llatbl.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-08-02 13:20:44 +0000
committerglebius <glebius@FreeBSD.org>2012-08-02 13:20:44 +0000
commit34fe3f296a23dcd2b2315ab9b7cbe217a7e36c17 (patch)
tree51861ac00bbe53eb774230ad7cd58bb5b39aa9ff /sys/net/if_llatbl.h
parent55897c521e10c657445e8cc5242b180b8557ffb0 (diff)
downloadFreeBSD-src-34fe3f296a23dcd2b2315ab9b7cbe217a7e36c17.zip
FreeBSD-src-34fe3f296a23dcd2b2315ab9b7cbe217a7e36c17.tar.gz
The llentry_update() is used only by flowtable and the latter
always passes NULL pointer to it. Thus, code can be simplified and function renamed to llentry_alloc() to match rtalloc().
Diffstat (limited to 'sys/net/if_llatbl.h')
-rw-r--r--sys/net/if_llatbl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_llatbl.h b/sys/net/if_llatbl.h
index c1146d9..63bed22 100644
--- a/sys/net/if_llatbl.h
+++ b/sys/net/if_llatbl.h
@@ -189,8 +189,8 @@ void lltable_drain(int);
int lltable_sysctl_dumparp(int, struct sysctl_req *);
size_t llentry_free(struct llentry *);
-int llentry_update(struct llentry **, struct lltable *,
- struct sockaddr_storage *, struct ifnet *);
+struct llentry *llentry_alloc(struct ifnet *, struct lltable *,
+ struct sockaddr_storage *);
/*
* Generic link layer address lookup function.
OpenPOWER on IntegriCloud