Deleted Added
full compact
if_ether.h (237263) if_ether.h (245924)
1/*-
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)if_ether.h 8.3 (Berkeley) 5/2/95
1/*-
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)if_ether.h 8.3 (Berkeley) 5/2/95
30 * $FreeBSD: head/sys/netinet/if_ether.h 237263 2012-06-19 07:34:13Z np $
30 * $FreeBSD: head/sys/netinet/if_ether.h 245924 2013-01-25 23:58:21Z np $
31 */
32
33#ifndef _NETINET_IF_ETHER_H_
34#define _NETINET_IF_ETHER_H_
35
36#include <net/ethernet.h>
37#include <net/if_arp.h>
38

--- 76 unchanged lines hidden (view full) ---

115int arpresolve(struct ifnet *ifp, struct rtentry *rt,
116 struct mbuf *m, struct sockaddr *dst, u_char *desten,
117 struct llentry **lle);
118void arprequest(struct ifnet *, struct in_addr *, struct in_addr *,
119 u_char *);
120void arp_ifinit(struct ifnet *, struct ifaddr *);
121void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
122void arp_ifscrub(struct ifnet *, uint32_t);
31 */
32
33#ifndef _NETINET_IF_ETHER_H_
34#define _NETINET_IF_ETHER_H_
35
36#include <net/ethernet.h>
37#include <net/if_arp.h>
38

--- 76 unchanged lines hidden (view full) ---

115int arpresolve(struct ifnet *ifp, struct rtentry *rt,
116 struct mbuf *m, struct sockaddr *dst, u_char *desten,
117 struct llentry **lle);
118void arprequest(struct ifnet *, struct in_addr *, struct in_addr *,
119 u_char *);
120void arp_ifinit(struct ifnet *, struct ifaddr *);
121void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
122void arp_ifscrub(struct ifnet *, uint32_t);
123
124#include <sys/eventhandler.h>
125enum {
126 LLENTRY_RESOLVED,
127 LLENTRY_TIMEDOUT,
128 LLENTRY_DELETED,
129 LLENTRY_EXPIRED,
130};
131typedef void (*lle_event_fn)(void *, struct llentry *, int);
132EVENTHANDLER_DECLARE(lle_event, lle_event_fn);
133
134#endif
135
136#endif
123#endif
124
125#endif