diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-25 20:22:02 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-25 20:22:02 +0000 |
commit | beeb9061d977ef93fce76c7eeb07aa632dec69c3 (patch) | |
tree | d046c36a3aac76a153f2990ac8a120f6077a71c5 /sbin/atm | |
parent | d220d24cd1872ef866fb80d37af116c03704c5d3 (diff) | |
download | src-beeb9061d977ef93fce76c7eeb07aa632dec69c3.tar.gz src-beeb9061d977ef93fce76c7eeb07aa632dec69c3.zip |
- Add a comment regarding SETPFX_OBJID
- Add an Objid definition for MADGE_OBJECT1
- Add an array to map ilmi_states to ASCII descriptions.
Submitted by: Richard Hodges <rh@matriplex.com>
Notes
Notes:
svn path=/head/; revision=112636
Diffstat (limited to 'sbin/atm')
-rw-r--r-- | sbin/atm/ilmid/ilmid.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sbin/atm/ilmid/ilmid.c b/sbin/atm/ilmid/ilmid.c index 3b195bf2a5ce..0d6eeac38471 100644 --- a/sbin/atm/ilmid/ilmid.c +++ b/sbin/atm/ilmid/ilmid.c @@ -250,7 +250,7 @@ Objid Objids[] = { {{ 9, 43, 6, 1, 4, 1, 353, 2, 7, 1 }}, #define MY_OBJID 11 {{ 7, 43, 6, 1, 4, 1, 9999, 1 }}, -#define SETPFX_OBJID 12 +#define SETPFX_OBJID 12 /* ATM Forum says 1=valid, 2=invalid, not 0! */ {{ 12, 43, 6, 1, 4, 1, 353, 2, 7, 1, 1, 3, 0 }}, #define ENTERPRISE_OBJID 13 {{ 8, 43, 6, 1, 4, 1, 3, 1, 1 }}, @@ -258,6 +258,8 @@ Objid Objids[] = { {{ 10, 43, 6, 1, 4, 1, 353, 2, 1, 4, 0 }}, #define ATMF_SYSID 15 {{ 12, 43, 6, 1, 4, 1, 353, 2, 1, 1, 1, 8, 0 }}, +#define MADGE_OBJECT1 16 /* I don't have a clue ... -RH */ + {{ 9, 43, 6, 1, 4, 1, 353, 2, 7, 99 }}, }; #define NUM_OIDS (sizeof(Objids)/sizeof(Objid)) @@ -285,6 +287,14 @@ enum ilmi_states { ILMI_RUNNING /* Normal processing */ }; +static char *ILMI_State[] = { + "UNKNOWN", + "COLDSTART", + "INIT", + "REG", + "RUNNING" +}; + /* * Our (incrementing) Request ID */ |