aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2013-01-25 23:58:21 +0000
committerNavdeep Parhar <np@FreeBSD.org>2013-01-25 23:58:21 +0000
commit4364ec08529a9427446b8df1be33f176d34f38e2 (patch)
treec1b42d134cdb2a9e02cbf3bb349f7b46caf5472d /sys/netinet/if_ether.h
parent7c2fdcac02c177db424a094c4771407e448eb1a4 (diff)
downloadsrc-4364ec08529a9427446b8df1be33f176d34f38e2.tar.gz
src-4364ec08529a9427446b8df1be33f176d34f38e2.zip
Move lle_event to if_llatbl.h
lle_event replaced arp_update_event after the ARP rewrite and ended up in if_ether.h simply because arp_update_event used to be there too. IPv6 neighbor discovery is going to grow lle_event support and this is a good time to move it to if_llatbl.h. The two in-tree consumers of this event - OFED and toecore - are not affected. Reviewed by: bz@
Notes
Notes: svn path=/head/; revision=245924
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index e37a9642e0f2..23828f2a6927 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -120,17 +120,6 @@ void arprequest(struct ifnet *, struct in_addr *, struct in_addr *,
void arp_ifinit(struct ifnet *, struct ifaddr *);
void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
void arp_ifscrub(struct ifnet *, uint32_t);
-
-#include <sys/eventhandler.h>
-enum {
- LLENTRY_RESOLVED,
- LLENTRY_TIMEDOUT,
- LLENTRY_DELETED,
- LLENTRY_EXPIRED,
-};
-typedef void (*lle_event_fn)(void *, struct llentry *, int);
-EVENTHANDLER_DECLARE(lle_event, lle_event_fn);
-
#endif
#endif