Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rmt.c File Reference
#include "h/types.h"
#include "h/fddi.h"
#include "h/smc.h"
#include "h/smtstate.h"

Go to the source code of this file.

Macros

#define KERNEL
 
#define AFLAG   0x10
 
#define GO_STATE(x)   (smc->mib.m[MAC0].fddiMACRMTState = (x)|AFLAG)
 
#define ACTIONS_DONE()   (smc->mib.m[MAC0].fddiMACRMTState &= ~AFLAG)
 
#define ACTIONS(x)   (x|AFLAG)
 
#define RM0_ISOLATED   0
 
#define RM1_NON_OP   1 /* not operational */
 
#define RM2_RING_OP   2 /* ring operational */
 
#define RM3_DETECT   3 /* detect dupl addresses */
 
#define RM4_NON_OP_DUP   4 /* dupl. addr detected */
 
#define RM5_RING_OP_DUP   5 /* ring oper. with dupl. addr */
 
#define RM6_DIRECTED   6 /* sending directed beacons */
 
#define RM7_TRACE   7 /* trace initiated */
 

Functions

void restart_trt_for_dbcn ()
 
void rmt_init (struct s_smc *smc)
 
void rmt (struct s_smc *smc, int event)
 

Macro Definition Documentation

#define ACTIONS (   x)    (x|AFLAG)

Definition at line 62 of file rmt.c.

#define ACTIONS_DONE ( )    (smc->mib.m[MAC0].fddiMACRMTState &= ~AFLAG)

Definition at line 61 of file rmt.c.

#define AFLAG   0x10

Definition at line 59 of file rmt.c.

#define GO_STATE (   x)    (smc->mib.m[MAC0].fddiMACRMTState = (x)|AFLAG)

Definition at line 60 of file rmt.c.

#define KERNEL

Definition at line 49 of file rmt.c.

#define RM0_ISOLATED   0

Definition at line 64 of file rmt.c.

#define RM1_NON_OP   1 /* not operational */

Definition at line 65 of file rmt.c.

#define RM2_RING_OP   2 /* ring operational */

Definition at line 66 of file rmt.c.

#define RM3_DETECT   3 /* detect dupl addresses */

Definition at line 67 of file rmt.c.

#define RM4_NON_OP_DUP   4 /* dupl. addr detected */

Definition at line 68 of file rmt.c.

#define RM5_RING_OP_DUP   5 /* ring oper. with dupl. addr */

Definition at line 69 of file rmt.c.

#define RM6_DIRECTED   6 /* sending directed beacons */

Definition at line 70 of file rmt.c.

#define RM7_TRACE   7 /* trace initiated */

Definition at line 71 of file rmt.c.

Function Documentation

void restart_trt_for_dbcn ( )
void rmt ( struct s_smc smc,
int  event 
)

Definition at line 147 of file rmt.c.

void rmt_init ( struct s_smc smc)

Definition at line 125 of file rmt.c.