if_ether.h (93085) | if_ether.h (111888) |
---|---|
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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)if_ether.h 8.3 (Berkeley) 5/2/95 |
34 * $FreeBSD: head/sys/netinet/if_ether.h 93085 2002-03-24 10:19:10Z bde $ | 34 * $FreeBSD: head/sys/netinet/if_ether.h 111888 2003-03-04 23:19:55Z jlemon $ |
35 */ 36 37#ifndef _NETINET_IF_ETHER_H_ 38#define _NETINET_IF_ETHER_H_ 39 40#include <net/ethernet.h> 41#include <net/if_arp.h> 42 --- 64 unchanged lines hidden (view full) --- 107 * IP and ethernet specific routing flags 108 */ 109#define RTF_USETRAILERS RTF_PROTO1 /* use trailers */ 110#define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */ 111 112#ifdef _KERNEL 113extern u_char ether_ipmulticast_min[ETHER_ADDR_LEN]; 114extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN]; | 35 */ 36 37#ifndef _NETINET_IF_ETHER_H_ 38#define _NETINET_IF_ETHER_H_ 39 40#include <net/ethernet.h> 41#include <net/if_arp.h> 42 --- 64 unchanged lines hidden (view full) --- 107 * IP and ethernet specific routing flags 108 */ 109#define RTF_USETRAILERS RTF_PROTO1 /* use trailers */ 110#define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */ 111 112#ifdef _KERNEL 113extern u_char ether_ipmulticast_min[ETHER_ADDR_LEN]; 114extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN]; |
115extern struct ifqueue arpintrq; | |
116 117int arpresolve(struct ifnet *, struct rtentry *, struct mbuf *, 118 struct sockaddr *, u_char *, struct rtentry *); 119void arp_ifinit(struct ifnet *, struct ifaddr *); 120#endif 121 122#endif | 115 116int arpresolve(struct ifnet *, struct rtentry *, struct mbuf *, 117 struct sockaddr *, u_char *, struct rtentry *); 118void arp_ifinit(struct ifnet *, struct ifaddr *); 119#endif 120 121#endif |