]> err.no Git - linux-2.6/commitdiff
[AX.25]: Add descriptions to constants
authorRalf Baechle <ralf@linux-mips.org>
Mon, 12 Sep 2005 21:24:24 +0000 (14:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Sep 2005 21:24:24 +0000 (14:24 -0700)
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>
include/net/ax25.h

index 7ddf6b26d335b69d0b15ee53a74a03337898891c..9dbcd9e51c00a33d1502824929468ce6a9e594c2 100644 (file)
 /* 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 */