summaryrefslogtreecommitdiffstats
path: root/sys/net/if_llatbl.c
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2009-04-16 22:55:59 +0000
committerkmacy <kmacy@FreeBSD.org>2009-04-16 22:55:59 +0000
commitc97af2f435ffac473a68d99bee5307819d7b23fb (patch)
treec9aceac91b685d3e362632f90fbb28e64081846a /sys/net/if_llatbl.c
parentf35899195a21305052f137d1b95e2e56cfc429a4 (diff)
downloadFreeBSD-src-c97af2f435ffac473a68d99bee5307819d7b23fb.zip
FreeBSD-src-c97af2f435ffac473a68d99bee5307819d7b23fb.tar.gz
add comment to llentry_update
Requested by: sam
Diffstat (limited to 'sys/net/if_llatbl.c')
-rw-r--r--sys/net/if_llatbl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c
index d7fb37a..f89aafa 100644
--- a/sys/net/if_llatbl.c
+++ b/sys/net/if_llatbl.c
@@ -103,6 +103,10 @@ llentry_free(struct llentry *lle)
LLE_FREE_LOCKED(lle);
}
+/*
+ * Update an llentry for address dst (equivalent to rtalloc for new-arp)
+ * Caller must pass in a valid struct llentry *
+ */
int
llentry_update(struct llentry **llep, struct lltable *lt,
struct sockaddr *dst, struct ifnet *ifp)
OpenPOWER on IntegriCloud