File avp.h


Included Files


Preprocessor definitions

#define VENDOR_ID 0

#define AMBIT( len )

#define AHBIT( len )

#define AZBITS( len )

#define ALENGTH( len )

#define MAXTIME 300

#define MBIT 0x8000

#define HBIT 0x4000

#define ASYNC_FRAMING 2

#define SYNC_FRAMING 1

#define ANALOG_BEARER 2

#define DIGITAL_BEARER 1

#define VENDOR_ERROR 6

#define ERROR_RESERVED 3

#define ERROR_LENGTH 2

#define ERROR_NOTEXIST 1

#define ERROR_NORES 4

#define ERROR_INVALID 6

#define RESULT_CLEAR 1

#define RESULT_ERROR 2

#define RESULT_EXISTS 3


Type struct avp_hdr

struct avp_hdr
struct avp_hdr 
   { 
     _u16 length; 
     _u16 vendorid; 
     _u16 attr; 
   } 

Type struct avp

struct avp
struct avp 
   { 
     int num; 
     int m; 
     int (*handler)(struct tunnel*,struct call*,void*,int); 
     char* description; 
   } 

External Variables

msgtypes
extern char* msgtypes[]
Defined in: avp.c