if_var.h (185162) | if_var.h (185571) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 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 * From: @(#)if.h 8.1 (Berkeley) 6/10/93 | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 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 * From: @(#)if.h 8.1 (Berkeley) 6/10/93 |
30 * $FreeBSD: head/sys/net/if_var.h 185162 2008-11-22 05:55:56Z kmacy $ | 30 * $FreeBSD: head/sys/net/if_var.h 185571 2008-12-02 21:37:28Z bz $ |
31 */ 32 33#ifndef _NET_IF_VAR_H_ 34#define _NET_IF_VAR_H_ 35 36/* 37 * Structures defining a network interface, providing a packet 38 * transport mechanism (ala level 0 of the PUP protocols). --- 676 unchanged lines hidden (view full) --- 715#ifdef DEVICE_POLLING 716enum poll_cmd { POLL_ONLY, POLL_AND_CHECK_STATUS }; 717 718typedef void poll_handler_t(struct ifnet *ifp, enum poll_cmd cmd, int count); 719int ether_poll_register(poll_handler_t *h, struct ifnet *ifp); 720int ether_poll_deregister(struct ifnet *ifp); 721#endif /* DEVICE_POLLING */ 722 | 31 */ 32 33#ifndef _NET_IF_VAR_H_ 34#define _NET_IF_VAR_H_ 35 36/* 37 * Structures defining a network interface, providing a packet 38 * transport mechanism (ala level 0 of the PUP protocols). --- 676 unchanged lines hidden (view full) --- 715#ifdef DEVICE_POLLING 716enum poll_cmd { POLL_ONLY, POLL_AND_CHECK_STATUS }; 717 718typedef void poll_handler_t(struct ifnet *ifp, enum poll_cmd cmd, int count); 719int ether_poll_register(poll_handler_t *h, struct ifnet *ifp); 720int ether_poll_deregister(struct ifnet *ifp); 721#endif /* DEVICE_POLLING */ 722 |
723#include <net/vnet.h> 724 | |
725#endif /* _KERNEL */ 726 727#endif /* !_NET_IF_VAR_H_ */ | 723#endif /* _KERNEL */ 724 725#endif /* !_NET_IF_VAR_H_ */ |