Deleted Added
full compact
if_ether.h (275196) if_ether.h (287789)
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 275196 2014-11-27 23:06:25Z melifaro $
30 * $FreeBSD: head/sys/netinet/if_ether.h 287789 2015-09-14 16:48:19Z melifaro $
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) ---

115struct ifaddr;
116
117int arpresolve(struct ifnet *ifp, int is_gw, struct mbuf *m,
118 const struct sockaddr *dst, u_char *desten, uint32_t *pflags);
119void arprequest(struct ifnet *, const struct in_addr *,
120 const struct in_addr *, u_char *);
121void arp_ifinit(struct ifnet *, struct ifaddr *);
122void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
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) ---

115struct ifaddr;
116
117int arpresolve(struct ifnet *ifp, int is_gw, struct mbuf *m,
118 const struct sockaddr *dst, u_char *desten, uint32_t *pflags);
119void arprequest(struct ifnet *, const struct in_addr *,
120 const struct in_addr *, u_char *);
121void arp_ifinit(struct ifnet *, struct ifaddr *);
122void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
123void arp_ifscrub(struct ifnet *, uint32_t);
124#endif
125
126#endif
123#endif
124
125#endif