diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-09-12 23:24:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-12 23:24:24 +0200 |
commit | b01ef8ffafc5239a871bc24af74f604654e7de2b (patch) | |
tree | 64d7f5da9477f7a008e5c5d6d24772494c759a78 | |
parent | [NETROM/AX.25/ROSE]: Remove useless tests (diff) | |
download | linux-b01ef8ffafc5239a871bc24af74f604654e7de2b.tar.xz linux-b01ef8ffafc5239a871bc24af74f604654e7de2b.zip |
[AX.25]: Add descriptions to constants
Comment the names used for the AX.25 state machine.
Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/ax25.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/ax25.h b/include/net/ax25.h index 7ddf6b26d335..9dbcd9e51c00 100644 --- a/include/net/ax25.h +++ b/include/net/ax25.h @@ -97,11 +97,11 @@ /* Define Link State constants. */ enum { - AX25_STATE_0, - AX25_STATE_1, - AX25_STATE_2, - AX25_STATE_3, - AX25_STATE_4 + AX25_STATE_0, /* Listening */ + AX25_STATE_1, /* SABM sent */ + AX25_STATE_2, /* DISC sent */ + AX25_STATE_3, /* Established */ + AX25_STATE_4 /* Recovery */ }; #define AX25_MODULUS 8 /* Standard AX.25 modulus */ |