summaryrefslogtreecommitdiff
path: root/isisd/isis_common.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-09-10 20:48:21 +0000
committerhasso <hasso>2004-09-10 20:48:21 +0000
commitf390d2c7839c04100e4de8246215ce10ea96b653 (patch)
tree9910d250bfb6605d44e7104ef786ba0c84ddb01a /isisd/isis_common.h
parentf3f27f60fdfc81fce2944ee89087417b04935663 (diff)
Indentation only. No any functional changes.
Diffstat (limited to 'isisd/isis_common.h')
-rw-r--r--isisd/isis_common.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/isisd/isis_common.h b/isisd/isis_common.h
index 951e6371..7a0768a8 100644
--- a/isisd/isis_common.h
+++ b/isisd/isis_common.h
@@ -23,13 +23,15 @@
/*
* Area Address
- */
-struct area_addr {
- u_char addr_len;
- u_char area_addr[20];
+ */
+struct area_addr
+{
+ u_char addr_len;
+ u_char area_addr[20];
};
-struct isis_passwd {
+struct isis_passwd
+{
u_char len;
#define ISIS_PASSWD_TYPE_UNUSED 0
#define ISIS_PASSWD_TYPE_CLEARTXT 1
@@ -43,7 +45,8 @@ struct isis_passwd {
* one struct for cache list
* one struct for LSP TLV
*/
-struct hostname {
+struct hostname
+{
u_char namelen;
u_char name[255];
};
@@ -51,15 +54,17 @@ struct hostname {
/*
* Supported Protocol IDs
*/
-struct nlpids {
+struct nlpids
+{
u_char count;
- u_char nlpids[4]; /* FIXME: enough ? */
+ u_char nlpids[4]; /* FIXME: enough ? */
};
/*
* Flags structure for SSN and SRM flags
- */
-struct flags {
+ */
+struct flags
+{
int maxindex;
struct list *free_idcs;
};