diff --git a/sys/net/if_llatbl.h b/sys/net/if_llatbl.h index 8da08ba6c4f6..39ecf7b1fa3f 100644 --- a/sys/net/if_llatbl.h +++ b/sys/net/if_llatbl.h @@ -205,4 +205,14 @@ lla_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr) } int lla_rt_output(struct rt_msghdr *, struct rt_addrinfo *); + +#include +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 /* _NET_IF_LLATBL_H_ */ 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 -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