summaryrefslogtreecommitdiffstats
path: root/sys/net/if_llatbl.c
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2010-03-12 05:03:26 +0000
committerkmacy <kmacy@FreeBSD.org>2010-03-12 05:03:26 +0000
commit128542c7580511b148e26e2929e4d11da27a8e4d (patch)
tree892d80f823d6c6d886b13b8b52823bc01f00c33f /sys/net/if_llatbl.c
parent7ca6d1bcd1c9d23ec8247d13014708dc09cdb3d5 (diff)
downloadFreeBSD-src-128542c7580511b148e26e2929e4d11da27a8e4d.zip
FreeBSD-src-128542c7580511b148e26e2929e4d11da27a8e4d.tar.gz
- restructure flowtable to support ipv6
- add a name argument to flowtable_alloc for printing with ddb commands - extend ddb commands to print destination address or 4-tuples - don't parse ports in ulp header if FL_HASH_ALL is not passed - add kern_flowtable_insert to enable more generic use of flowtable (e.g. system calls for adding entries) - don't hash loopback addresses - cleanup whitespace - keep statistics per-cpu for per-cpu flowtables to avoid cache line contention - add sysctls to accumulate stats and report aggregate MFC after: 7 days
Diffstat (limited to 'sys/net/if_llatbl.c')
-rw-r--r--sys/net/if_llatbl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c
index 5992f6d..f52f9ff 100644
--- a/sys/net/if_llatbl.c
+++ b/sys/net/if_llatbl.c
@@ -111,13 +111,13 @@ llentry_free(struct llentry *lle)
/*
* Update an llentry for address dst (equivalent to rtalloc for new-arp)
- * Caller must pass in a valid struct llentry *
+ * Caller must pass in a valid struct llentry * (or NULL)
*
* if found the llentry * is returned referenced and unlocked
*/
int
llentry_update(struct llentry **llep, struct lltable *lt,
- struct sockaddr *dst, struct ifnet *ifp)
+ struct sockaddr_storage *dst, struct ifnet *ifp)
{
struct llentry *la;
OpenPOWER on IntegriCloud