if.h (10080) | if.h (10429) |
---|---|
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 --- 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.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 --- 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.h 8.1 (Berkeley) 6/10/93 |
34 * $Id: if.h,v 1.19 1995/07/09 08:12:27 joerg Exp $ | 34 * $Id: if.h,v 1.20 1995/08/16 16:13:39 bde Exp $ |
35 */ 36 37#ifndef _NET_IF_H_ 38#define _NET_IF_H_ 39 40/* 41 * Structures defining a network interface, providing a packet 42 * transport mechanism (ala level 0 of the PUP protocols). --- 341 unchanged lines hidden (view full) --- 384struct ifaddr *ifa_ifwithnet __P((struct sockaddr *)); 385struct ifaddr *ifa_ifwithroute __P((int, struct sockaddr *, 386 struct sockaddr *)); 387struct ifaddr *ifaof_ifpforaddr __P((struct sockaddr *, struct ifnet *)); 388void ifafree __P((struct ifaddr *)); 389void link_rtrequest __P((int, struct rtentry *, struct sockaddr *)); 390 391int loioctl __P((struct ifnet *, int, caddr_t)); | 35 */ 36 37#ifndef _NET_IF_H_ 38#define _NET_IF_H_ 39 40/* 41 * Structures defining a network interface, providing a packet 42 * transport mechanism (ala level 0 of the PUP protocols). --- 341 unchanged lines hidden (view full) --- 384struct ifaddr *ifa_ifwithnet __P((struct sockaddr *)); 385struct ifaddr *ifa_ifwithroute __P((int, struct sockaddr *, 386 struct sockaddr *)); 387struct ifaddr *ifaof_ifpforaddr __P((struct sockaddr *, struct ifnet *)); 388void ifafree __P((struct ifaddr *)); 389void link_rtrequest __P((int, struct rtentry *, struct sockaddr *)); 390 391int loioctl __P((struct ifnet *, int, caddr_t)); |
392void loopattach __P((void)); | |
393int looutput __P((struct ifnet *, 394 struct mbuf *, struct sockaddr *, struct rtentry *)); 395void lortrequest __P((int, struct rtentry *, struct sockaddr *)); 396#endif /* KERNEL */ 397 398#endif /* !_NET_IF_H_ */ | 392int looutput __P((struct ifnet *, 393 struct mbuf *, struct sockaddr *, struct rtentry *)); 394void lortrequest __P((int, struct rtentry *, struct sockaddr *)); 395#endif /* KERNEL */ 396 397#endif /* !_NET_IF_H_ */ |