route.h (196995) | route.h (201282) |
---|---|
1/*- 2 * Copyright (c) 1980, 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 * @(#)route.h 8.4 (Berkeley) 1/9/95 | 1/*- 2 * Copyright (c) 1980, 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 * @(#)route.h 8.4 (Berkeley) 1/9/95 |
30 * $FreeBSD: head/sys/net/route.h 196995 2009-09-08 21:17:17Z np $ | 30 * $FreeBSD: head/sys/net/route.h 201282 2009-12-30 21:35:34Z qingli $ |
31 */ 32 33#ifndef _NET_ROUTE_H_ 34#define _NET_ROUTE_H_ 35 36/* 37 * Kernel resident routing tables. 38 * --- 340 unchanged lines hidden (view full) --- 379 380void rt_ieee80211msg(struct ifnet *, int, void *, size_t); 381void rt_ifannouncemsg(struct ifnet *, int); 382void rt_ifmsg(struct ifnet *); 383void rt_missmsg(int, struct rt_addrinfo *, int, int); 384void rt_newaddrmsg(int, struct ifaddr *, int, struct rtentry *); 385void rt_newmaddrmsg(int, struct ifmultiaddr *); 386int rt_setgate(struct rtentry *, struct sockaddr *, struct sockaddr *); | 31 */ 32 33#ifndef _NET_ROUTE_H_ 34#define _NET_ROUTE_H_ 35 36/* 37 * Kernel resident routing tables. 38 * --- 340 unchanged lines hidden (view full) --- 379 380void rt_ieee80211msg(struct ifnet *, int, void *, size_t); 381void rt_ifannouncemsg(struct ifnet *, int); 382void rt_ifmsg(struct ifnet *); 383void rt_missmsg(int, struct rt_addrinfo *, int, int); 384void rt_newaddrmsg(int, struct ifaddr *, int, struct rtentry *); 385void rt_newmaddrmsg(int, struct ifmultiaddr *); 386int rt_setgate(struct rtentry *, struct sockaddr *, struct sockaddr *); |
387void rt_maskedcopy(struct sockaddr *, struct sockaddr *, struct sockaddr *); |
|
387 388/* 389 * Note the following locking behavior: 390 * 391 * rtalloc_ign() and rtalloc() return ro->ro_rt unlocked 392 * 393 * rtalloc1() returns a locked rtentry 394 * --- 49 unchanged lines hidden --- | 388 389/* 390 * Note the following locking behavior: 391 * 392 * rtalloc_ign() and rtalloc() return ro->ro_rt unlocked 393 * 394 * rtalloc1() returns a locked rtentry 395 * --- 49 unchanged lines hidden --- |