aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_llatbl.h
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2016-06-02 17:51:29 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2016-06-02 17:51:29 +0000
commit6d7682268826ca15ed86237eb25286740b952f1c (patch)
tree35865ebb972dd3afe8974183497a1af7a56b33fc /sys/net/if_llatbl.h
parent55a87f85cfe1614b1745392afa56177e063eabb5 (diff)
downloadsrc-6d7682268826ca15ed86237eb25286740b952f1c.tar.gz
src-6d7682268826ca15ed86237eb25286740b952f1c.zip
This change re-adds L2 caching for TCP and UDP, as originally added in D4306
but removed due to other changes in the system. Restore the llentry pointer to the "struct route", and use it to cache the L2 lookup (ARP or ND6) as appropriate. Submitted by: Mike Karels Differential Revision: https://reviews.freebsd.org/D6262
Notes
Notes: svn path=/head/; revision=301217
Diffstat (limited to 'sys/net/if_llatbl.h')
-rw-r--r--sys/net/if_llatbl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if_llatbl.h b/sys/net/if_llatbl.h
index b6111c65cc9f..51de726a621e 100644
--- a/sys/net/if_llatbl.h
+++ b/sys/net/if_llatbl.h
@@ -138,7 +138,6 @@ struct llentry {
LLE_FREE_LOCKED(lle); \
} while (0)
-
typedef struct llentry *(llt_lookup_t)(struct lltable *, u_int flags,
const struct sockaddr *l3addr);
typedef struct llentry *(llt_alloc_t)(struct lltable *, u_int flags,