1
1
// -*- c-basic-offset: 4; tab-width: 8; indent-tabs-mode: t -*-
3
// Copyright (c) 2001-2007 International Computer Science Institute
3
// Copyright (c) 2001-2008 International Computer Science Institute
5
5
// Permission is hereby granted, free of charge, to any person obtaining a
6
6
// copy of this software and associated documentation files (the "Software")
12
12
// notice is a summary of the XORP LICENSE file; the license in that file is
13
13
// legally binding.
15
// $XORP: xorp/fea/data_plane/fibconfig/fibconfig_table_set_click.hh,v 1.3 2007/07/16 23:56:10 pavlin Exp $
15
// $XORP: xorp/fea/data_plane/fibconfig/fibconfig_table_set_click.hh,v 1.6 2008/01/04 03:16:03 pavlin Exp $
17
17
#ifndef __FEA_DATA_PLANE_FIBCONFIG_FIBCONFIG_TABLE_SET_CLICK_HH__
18
18
#define __FEA_DATA_PLANE_FIBCONFIG_FIBCONFIG_TABLE_SET_CLICK_HH__
59
59
* @param fte_list the list with all entries to install into
60
60
* the unicast forwarding table.
62
* @return true on success, otherwise false.
61
* @return XORP_OK on success, otherwise XORP_ERROR.
64
virtual bool set_table4(const list<Fte4>& fte_list);
63
virtual int set_table4(const list<Fte4>& fte_list);
67
66
* Delete all entries in the routing table. Must be within a
68
67
* configuration interval.
70
* @return true on success, otherwise false.
69
* @return XORP_OK on success, otherwise XORP_ERROR.
72
virtual bool delete_all_entries4();
71
virtual int delete_all_entries4();
75
74
* Set the unicast forwarding table.
77
76
* @param fte_list the list with all entries to install into
78
77
* the unicast forwarding table.
80
* @return true on success, otherwise false.
78
* @return XORP_OK on success, otherwise XORP_ERROR.
82
virtual bool set_table6(const list<Fte6>& fte_list);
80
virtual int set_table6(const list<Fte6>& fte_list);
85
83
* Delete all entries in the routing table. Must be within a
86
84
* configuration interval.
88
* @return true on success, otherwise false.
86
* @return XORP_OK on success, otherwise XORP_ERROR.
90
virtual bool delete_all_entries6();
88
virtual int delete_all_entries6();
93
91
ClickSocketReader _cs_reader;