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

Go to the source code of this file.

Data Structures

struct  s_p_tab
 

Macros

#define KERNEL
 
#define MOFFSS(e)   offsetof(struct fddi_mib, e)
 
#define MOFFMS(e)   offsetof(struct fddi_mib_m, e)
 
#define MOFFAS(e)   offsetof(struct fddi_mib_a, e)
 
#define MOFFPS(e)   offsetof(struct fddi_mib_p, e)
 
#define AC_G   0x01 /* Get */
 
#define AC_GR   0x02 /* Get/Set */
 
#define AC_S   0x04 /* Set */
 
#define AC_NA   0x08
 
#define AC_GROUP   0x10 /* Group */
 
#define MS2BCLK(x)   ((x)*12500L)
 
#define IFSET(x)   if (set) (x)
 

Functions

void smt_add_para (struct s_smc *smc, struct s_pcon *pcon, u_short para, int index, int local)
 
void smt_pmf_received_pack (struct s_smc *smc, SMbuf *mb, int local)
 

Macro Definition Documentation

#define AC_G   0x01 /* Get */

Definition at line 53 of file pmf.c.

#define AC_GR   0x02 /* Get/Set */

Definition at line 54 of file pmf.c.

#define AC_GROUP   0x10 /* Group */

Definition at line 57 of file pmf.c.

#define AC_NA   0x08

Definition at line 56 of file pmf.c.

#define AC_S   0x04 /* Set */

Definition at line 55 of file pmf.c.

#define IFSET (   x)    if (set) (x)
#define KERNEL

Definition at line 26 of file pmf.c.

#define MOFFAS (   e)    offsetof(struct fddi_mib_a, e)

Definition at line 49 of file pmf.c.

#define MOFFMS (   e)    offsetof(struct fddi_mib_m, e)

Definition at line 48 of file pmf.c.

#define MOFFPS (   e)    offsetof(struct fddi_mib_p, e)

Definition at line 50 of file pmf.c.

#define MOFFSS (   e)    offsetof(struct fddi_mib, e)

Definition at line 47 of file pmf.c.

#define MS2BCLK (   x)    ((x)*12500L)

Definition at line 58 of file pmf.c.

Function Documentation

void smt_add_para ( struct s_smc smc,
struct s_pcon pcon,
u_short  para,
int  index,
int  local 
)

Definition at line 550 of file pmf.c.

void smt_pmf_received_pack ( struct s_smc smc,
SMbuf mb,
int  local 
)

Definition at line 281 of file pmf.c.