Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cfm.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.fddiSMTCF_State = (x)|AFLAG)
 
#define ACTIONS_DONE()   (smc->mib.fddiSMTCF_State &= ~AFLAG)
 
#define ACTIONS(x)   (x|AFLAG)
 
#define CEM_PST_DOWN   0
 
#define CEM_PST_UP   1
 
#define CEM_PST_HOLD   2
 
#define THRU_ENABLED(smc)
 

Functions

void cfm_init (struct s_smc *smc)
 
void all_selection_criteria (struct s_smc *smc)
 
void cfm (struct s_smc *smc, int event)
 
int cfm_get_mac_input (struct s_smc *smc)
 
int cfm_get_mac_output (struct s_smc *smc)
 
int cem_build_path (struct s_smc *smc, char *to, int path_index)
 

Macro Definition Documentation

#define ACTIONS (   x)    (x|AFLAG)

Definition at line 53 of file cfm.c.

#define ACTIONS_DONE ( )    (smc->mib.fddiSMTCF_State &= ~AFLAG)

Definition at line 52 of file cfm.c.

#define AFLAG   0x10

Definition at line 50 of file cfm.c.

#define CEM_PST_DOWN   0

Definition at line 85 of file cfm.c.

#define CEM_PST_HOLD   2

Definition at line 87 of file cfm.c.

#define CEM_PST_UP   1

Definition at line 86 of file cfm.c.

#define GO_STATE (   x)    (smc->mib.fddiSMTCF_State = (x)|AFLAG)

Definition at line 51 of file cfm.c.

#define KERNEL

Definition at line 40 of file cfm.c.

#define THRU_ENABLED (   smc)
Value:
(smc->y[PA].pc_mode != PM_TREE && \
smc->y[PB].pc_mode != PM_TREE)

Definition at line 117 of file cfm.c.

Function Documentation

void all_selection_criteria ( struct s_smc smc)

Definition at line 146 of file cfm.c.

int cem_build_path ( struct s_smc smc,
char to,
int  path_index 
)

Definition at line 594 of file cfm.c.

void cfm ( struct s_smc smc,
int  event 
)

Definition at line 213 of file cfm.c.

int cfm_get_mac_input ( struct s_smc smc)

Definition at line 543 of file cfm.c.

int cfm_get_mac_output ( struct s_smc smc)

Definition at line 554 of file cfm.c.

void cfm_init ( struct s_smc smc)

Definition at line 105 of file cfm.c.