epoc32/include/stdapis/net/route.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*-
     1 /*-
     2  * © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
     2  * 
     3  * Copyright (c) 1980, 1986, 1993
     3  * Copyright (c) 1980, 1986, 1993
     4  *	The Regents of the University of California.  All rights reserved.
     4  *	The Regents of the University of California.  All rights reserved.
     5  * Redistribution and use in source and binary forms, with or without
     5  * Redistribution and use in source and binary forms, with or without
     6  * modification, are permitted provided that the following conditions
     6  * modification, are permitted provided that the following conditions
     7  * are met:
     7  * are met:
    24  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    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
    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
    26  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    27  * SUCH DAMAGE.
    27  * SUCH DAMAGE.
    28  *
    28  *
       
    29  * Portions Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
    29  *	@(#)route.h	8.4 (Berkeley) 1/9/95
    30  *	@(#)route.h	8.4 (Berkeley) 1/9/95
    30  * $FreeBSD: src/sys/net/route.h,v 1.63 2005/01/07 01:45:35 imp Exp $
    31  * $FreeBSD: src/sys/net/route.h,v 1.63 2005/01/07 01:45:35 imp Exp $
    31  */
    32  */
    32 
    33 
    33 #ifndef _NET_ROUTE_H_
    34 #ifndef _NET_ROUTE_H_
    95  * the route was entered.  Routes that forward packets through
    96  * the route was entered.  Routes that forward packets through
    96  * gateways are marked so that the output routines know to address the
    97  * gateways are marked so that the output routines know to address the
    97  * gateway rather than the ultimate destination.
    98  * gateway rather than the ultimate destination.
    98  */
    99  */
    99 #ifndef RNF_NORMAL
   100 #ifndef RNF_NORMAL
   100 #include <net/radix.h>
   101 #include <stdapis/net/radix.h>
   101 #endif
   102 #endif
   102 struct rtentry {
   103 struct rtentry {
   103 	struct	radix_node rt_nodes[2];	/* tree glue, and other values */
   104 	struct	radix_node rt_nodes[2];	/* tree glue, and other values */
   104 	/*
   105 	/*
   105 	 * XXX struct rtentry must begin with a struct radix_node (or two!)
   106 	 * XXX struct rtentry must begin with a struct radix_node (or two!)