xorp

test_next_hop_resolver.hh

00001 // -*- c-basic-offset: 4; tab-width: 8; indent-tabs-mode: t -*-
00002 
00003 // Copyright (c) 2001-2009 XORP, Inc.
00004 //
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License, Version 2, June
00007 // 1991 as published by the Free Software Foundation. Redistribution
00008 // and/or modification of this program under the terms of any other
00009 // version of the GNU General Public License is not permitted.
00010 // 
00011 // This program is distributed in the hope that it will be useful, but
00012 // WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For more details,
00014 // see the GNU General Public License, Version 2, a copy of which can be
00015 // found in the XORP LICENSE.gpl file.
00016 // 
00017 // XORP Inc, 2953 Bunker Hill Lane, Suite 204, Santa Clara, CA 95054, USA;
00018 // http://xorp.net
00019 
00020 // $XORP: xorp/bgp/test_next_hop_resolver.hh,v 1.10 2008/10/02 21:56:22 bms Exp $
00021 
00022 #ifndef __BGP_TEST_NEXT_HOP_RESOLVER_HH__
00023 #define __BGP_TEST_NEXT_HOP_RESOLVER_HH__
00024 
00025 #include "libxorp/test_main.hh"
00026 #include "libxorp/ipv4.hh"
00027 #include "libxorp/ipv4net.hh"
00028 #include "libxorp/ipv6.hh"
00029 #include "libxorp/ipv6net.hh"
00030 
00031 template <class A>
00032 bool
00033 nhr_test1(TestInfo& info, A nexthop, A real_nexthop, IPNet<A> subnet);
00034 
00035 template <class A>
00036 bool
00037 nhr_test2(TestInfo& info, A nexthop, A real_nexthop, IPNet<A> subnet, int reg);
00038 
00039 template <class A>
00040 bool
00041 nhr_test3(TestInfo& info, A nexthop, A real_nexthop, IPNet<A> subnet, int reg);
00042 
00043 template <class A>
00044 bool
00045 nhr_test4(TestInfo& info, A nexthop, A real_nexthop, IPNet<A> subnet);
00046 
00047 template <class A>
00048 bool
00049 nhr_test5(TestInfo& info, A nexthop, A real_nexthop, IPNet<A> subnet);
00050 
00051 template <class A>
00052 bool
00053 nhr_test6(TestInfo& info, A nexthop, A real_nexthop, IPNet<A> subnet);
00054 
00055 template <class A>
00056 bool
00057 nhr_test7(TestInfo& info, A nexthop, A real_nexthop, IPNet<A> subnet);
00058 
00059 template <class A>
00060 bool
00061 nhr_test8(TestInfo& info, A nexthop, A real_nexthop, IPNet<A> subnet);
00062 
00063 template <class A>
00064 bool
00065 nhr_test9(TestInfo& info, A nexthop, A real_nexthop, IPNet<A> subnet, int reg);
00066 
00067 #endif // __BGP_TEST_NEXT_HOP_RESOLVER_HH__
 All Classes Namespaces Functions Variables Typedefs Enumerations