route.h (11541) | route.h (11819) |
---|---|
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 --- 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 * @(#)route.h 8.3 (Berkeley) 4/19/94 | 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 --- 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 * @(#)route.h 8.3 (Berkeley) 4/19/94 |
34 * $Id: route.h,v 1.15 1995/07/29 11:41:03 bde Exp $ | 34 * $Id: route.h,v 1.16 1995/10/16 20:53:55 wollman Exp $ |
35 */ 36 37#ifndef _NET_ROUTE_H_ 38#define _NET_ROUTE_H_ 39 40/* 41 * Kernel resident routing tables. 42 * --- 194 unchanged lines hidden (view full) --- 237 238struct rt_addrinfo { 239 int rti_addrs; 240 struct sockaddr *rti_info[RTAX_MAX]; 241}; 242 243struct route_cb { 244 int ip_count; | 35 */ 36 37#ifndef _NET_ROUTE_H_ 38#define _NET_ROUTE_H_ 39 40/* 41 * Kernel resident routing tables. 42 * --- 194 unchanged lines hidden (view full) --- 237 238struct rt_addrinfo { 239 int rti_addrs; 240 struct sockaddr *rti_info[RTAX_MAX]; 241}; 242 243struct route_cb { 244 int ip_count; |
245 int ipx_count; |
|
245 int ns_count; 246 int iso_count; 247 int any_count; 248}; 249 250#ifdef KERNEL 251#define RTFREE(rt) \ 252 if ((rt)->rt_refcnt <= 1) \ --- 35 unchanged lines hidden --- | 246 int ns_count; 247 int iso_count; 248 int any_count; 249}; 250 251#ifdef KERNEL 252#define RTFREE(rt) \ 253 if ((rt)->rt_refcnt <= 1) \ --- 35 unchanged lines hidden --- |