if_ether.h (196995) | if_ether.h (228571) |
---|---|
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 196995 2009-09-08 21:17:17Z np $ | 30 * $FreeBSD: head/sys/netinet/if_ether.h 228571 2011-12-16 12:16:56Z glebius $ |
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 --- 73 unchanged lines hidden (view full) --- 112struct llentry; 113struct ifaddr; 114 115int arpresolve(struct ifnet *ifp, struct rtentry *rt, 116 struct mbuf *m, struct sockaddr *dst, u_char *desten, 117 struct llentry **lle); 118void arp_ifinit(struct ifnet *, struct ifaddr *); 119void 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 --- 73 unchanged lines hidden (view full) --- 112struct llentry; 113struct ifaddr; 114 115int arpresolve(struct ifnet *ifp, struct rtentry *rt, 116 struct mbuf *m, struct sockaddr *dst, u_char *desten, 117 struct llentry **lle); 118void arp_ifinit(struct ifnet *, struct ifaddr *); 119void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *); |
120void arp_ifscrub(struct ifnet *, uint32_t); |
|
120 121#include <sys/eventhandler.h> 122typedef void (*llevent_arp_update_fn)(void *, struct llentry *); 123EVENTHANDLER_DECLARE(arp_update_event, llevent_arp_update_fn); 124 125#endif 126 127#endif | 121 122#include <sys/eventhandler.h> 123typedef void (*llevent_arp_update_fn)(void *, struct llentry *); 124EVENTHANDLER_DECLARE(arp_update_event, llevent_arp_update_fn); 125 126#endif 127 128#endif |