summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-12 14:24:24 -0700
committerDavid S. Miller <davem@davemloft.net>2005-09-12 14:24:24 -0700
commitb01ef8ffafc5239a871bc24af74f604654e7de2b (patch)
tree64d7f5da9477f7a008e5c5d6d24772494c759a78 /include/net
parent9b37ee75858ce35cf3c0e4724acaf4efabb45687 (diff)
downloadop-kernel-dev-b01ef8ffafc5239a871bc24af74f604654e7de2b.zip
op-kernel-dev-b01ef8ffafc5239a871bc24af74f604654e7de2b.tar.gz
[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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ax25.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/ax25.h b/include/net/ax25.h
index 7ddf6b2..9dbcd9e 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 */
OpenPOWER on IntegriCloud