~ubuntu-branches/ubuntu/jaunty/xorp/jaunty

« back to all changes in this revision

Viewing changes to fea/data_plane/fibconfig/fibconfig_table_set_click.hh

  • Committer: Bazaar Package Importer
  • Author(s): Jose Calhariz, Javier Fernandez-Sanguino, Jose Calhariz
  • Date: 2008-01-23 01:24:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080123012437-7l2u9r0k8e7op8st
Tags: 1.5~cvs.20080128-1
[ Javier Fernandez-Sanguino ]
* Update to latest CVS contents
* Modify debian/rules to prevent autobuilders from building 
  the binary-independent components: (Closes: #441121)
  - Create a new Build-Depends-Indep with all the TeX
  components used to build documentation
  - Since autobuilders call build, which in turns calls build-indep, hack
    the debian rules file so that the documentation is only built if ps2pdf,
    dvips and pslatex are available. 
* Modify the init.d script:
  - restart action: Do not attempt to stop xorp if not running
  - stop function: fix errors in the script
  - add a try-restart action
  - restructure the init.d script, move the restart code to a function
  - review the use of echo calls and exit values
* Use, as examples, the new boot files at rtrmgr/config/

[ Jose Calhariz ]
* Add depends on ncurses-dev, I don't know why xorp use tigetstr
  function from curses.  This way the depends field change less between
  build environments.
* Removed pushd and popd commands from Makefile and replaced with cd
  commands, was a bashism and FTBFS (closes: #453637)
* debian/control converted to utf-8 (closes: #454026) (closes: #453485)
* init.d/xorp now returns 0 if disabled.
* Added Vcs-Browser and Vcs-Svn fields pointing to the repository of the
  package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- c-basic-offset: 4; tab-width: 8; indent-tabs-mode: t -*-
2
2
 
3
 
// Copyright (c) 2001-2007 International Computer Science Institute
 
3
// Copyright (c) 2001-2008 International Computer Science Institute
4
4
//
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.
14
14
 
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 $
16
16
 
17
17
#ifndef __FEA_DATA_PLANE_FIBCONFIG_FIBCONFIG_TABLE_SET_CLICK_HH__
18
18
#define __FEA_DATA_PLANE_FIBCONFIG_FIBCONFIG_TABLE_SET_CLICK_HH__
28
28
     * Constructor.
29
29
     *
30
30
     * @param fea_data_plane_manager the corresponding data plane manager
31
 
     * (@see FeaDataPlaneManager).
 
31
     * (@ref FeaDataPlaneManager).
32
32
     */
33
33
    FibConfigTableSetClick(FeaDataPlaneManager& fea_data_plane_manager);
34
34
 
58
58
     *
59
59
     * @param fte_list the list with all entries to install into
60
60
     * the unicast forwarding table.
61
 
     *
62
 
     * @return true on success, otherwise false.
 
61
     * @return XORP_OK on success, otherwise XORP_ERROR.
63
62
     */
64
 
    virtual bool set_table4(const list<Fte4>& fte_list);
 
63
    virtual int set_table4(const list<Fte4>& fte_list);
65
64
 
66
65
    /**
67
66
     * Delete all entries in the routing table. Must be within a
68
67
     * configuration interval.
69
68
     *
70
 
     * @return true on success, otherwise false.
 
69
     * @return XORP_OK on success, otherwise XORP_ERROR.
71
70
     */
72
 
    virtual bool delete_all_entries4();
 
71
    virtual int delete_all_entries4();
73
72
 
74
73
    /**
75
74
     * Set the unicast forwarding table.
76
75
     *
77
76
     * @param fte_list the list with all entries to install into
78
77
     * the unicast forwarding table.
79
 
     *
80
 
     * @return true on success, otherwise false.
 
78
     * @return XORP_OK on success, otherwise XORP_ERROR.
81
79
     */
82
 
    virtual bool set_table6(const list<Fte6>& fte_list);
 
80
    virtual int set_table6(const list<Fte6>& fte_list);
83
81
    
84
82
    /**
85
83
     * Delete all entries in the routing table. Must be within a
86
84
     * configuration interval.
87
85
     *
88
 
     * @return true on success, otherwise false.
 
86
     * @return XORP_OK on success, otherwise XORP_ERROR.
89
87
     */
90
 
    virtual bool delete_all_entries6();
 
88
    virtual int delete_all_entries6();
91
89
    
92
90
private:
93
91
    ClickSocketReader   _cs_reader;