Deleted Added
full compact
if_ether.h (175025) if_ether.h (186119)
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 175025 2007-12-31 23:48:06Z julian $
30 * $FreeBSD: head/sys/netinet/if_ether.h 186119 2008-12-15 06:10:57Z qingli $
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

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

104 */
105#define RTF_USETRAILERS RTF_PROTO1 /* use trailers */
106#define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */
107
108#ifdef _KERNEL
109extern u_char ether_ipmulticast_min[ETHER_ADDR_LEN];
110extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN];
111
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

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

104 */
105#define RTF_USETRAILERS RTF_PROTO1 /* use trailers */
106#define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */
107
108#ifdef _KERNEL
109extern u_char ether_ipmulticast_min[ETHER_ADDR_LEN];
110extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN];
111
112struct llentry;
113
112int arpresolve(struct ifnet *ifp, struct rtentry *rt,
114int arpresolve(struct ifnet *ifp, struct rtentry *rt,
113 struct mbuf *m, struct sockaddr *dst, u_char *desten);
115 struct mbuf *m, struct sockaddr *dst, u_char *desten,
116 struct llentry **lle);
114void arp_ifinit(struct ifnet *, struct ifaddr *);
115void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
116#endif
117
118#endif
117void arp_ifinit(struct ifnet *, struct ifaddr *);
118void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
119#endif
120
121#endif