diff options
author | gnn <gnn@FreeBSD.org> | 2016-06-02 17:51:29 +0000 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2016-06-02 17:51:29 +0000 |
commit | d75e0c471e231b57a58d0a0f8f77ed359ed0e190 (patch) | |
tree | 35865ebb972dd3afe8974183497a1af7a56b33fc /sys/net/if_llatbl.h | |
parent | 56e3e42896aee2eb336ee7d14417f427bbf2f505 (diff) | |
download | FreeBSD-src-d75e0c471e231b57a58d0a0f8f77ed359ed0e190.zip FreeBSD-src-d75e0c471e231b57a58d0a0f8f77ed359ed0e190.tar.gz |
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
Diffstat (limited to 'sys/net/if_llatbl.h')
-rw-r--r-- | sys/net/if_llatbl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if_llatbl.h b/sys/net/if_llatbl.h index b6111c6..51de726 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, |