~ubuntu-branches/ubuntu/breezy/quagga/breezy-security

« back to all changes in this revision

Viewing changes to isisd/topology/spgrid.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Mueller
  • Date: 2005-05-20 13:16:12 UTC
  • Revision ID: james.westby@ubuntu.com-20050520131612-pr6paalox60o3x3n
Tags: upstream-0.99.1
ImportĀ upstreamĀ versionĀ 0.99.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * IS-IS Rout(e)ing protocol - topology/spgrid.h
 
3
                               Routines for manipulation of SSN and SRM flags
 
4
 * Copyright (C) 2001 Sampo Saaristo, Ofer Wald
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify it 
 
7
 * under the terms of the GNU General Public Licenseas published by the Free 
 
8
 * Software Foundation; either version 2 of the License, or (at your option) 
 
9
 * any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,but WITHOUT 
 
12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
 
13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for 
 
14
 * more details.
 
15
 
 
16
 * You should have received a copy of the GNU General Public License along 
 
17
 * with this program; if not, write to the Free Software Foundation, Inc., 
 
18
 * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
19
 */
 
20
 
 
21
/*
 
22
 * Based on:
 
23
 * SPLIB Copyright C 1994 by Cherkassky, Goldberg, and Radzik
 
24
 *
 
25
 */
 
26
#ifndef _ZEBRA_ISIS_TOPOLOGY_SPGRID_H
 
27
#define _ZEBRA_ISIS_TOPOLOGY_SPGRID_H
 
28
 
 
29
struct arc {
 
30
  long from_node;
 
31
  long to_node;
 
32
  long distance;
 
33
};
 
34
 
 
35
int           gen_spgrid_topology (struct vty *vty, struct list *topology);
 
36
int           spgrid_check_params (struct vty *vty, int argc, char **argv);
 
37
 
 
38
 
 
39
#endif /* _ZEBRA_ISIS_TOPOLOGY_SPGRID_H */
 
40
 
 
41
 
 
42
 
 
43
 
 
44
 
 
45