smt_header
int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
(struct smt_header *)(db->sm_data+db->sm_off),
static void ess_send_response(struct s_smc *smc, struct smt_header *sm,
dump_smt(smc,(struct smt_header *)chg,"RAF") ;
dump_smt(smc,(struct smt_header *)req,"RAF") ;
static void ess_send_response(struct s_smc *smc, struct smt_header *sm,
int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
void *sm_to_para(struct s_smc *smc, struct smt_header *sm,
void smt_swap_para(struct smt_header *sm, int len, int direction);
int smt_check_para(struct s_smc *smc, struct smt_header *sm,
int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text);
struct smt_header *sm ; /* points to the rec message */
struct smt_header ref_header ; /* refused header */
struct smt_header smt ; /* generic header */
struct smt_header smt ; /* generic header */
struct smt_header smt ; /* generic header */
struct smt_header smt ; /* generic header */
#define SMT_ECF_LEN (sizeof(struct smt_header)+sizeof(struct smt_para))
struct smt_header smt ; /* generic header */
struct smt_header smt ; /* generic header */
struct smt_header smt ; /* generic header */
struct smt_header smt ; /* generic header */
struct smt_header smt ; /* generic header */
struct smt_header smt ; /* generic header */
void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text)
smtlen = sm->smt_len + sizeof(struct smt_header) ;
static int smt_authorize(struct s_smc *smc, struct smt_header *sm);
struct smt_header *sm ;
sm = smtod(mb,struct smt_header *) ;
static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm);
sm = smtod(reply,struct smt_header *) ;
static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req,
struct smt_header *smt ;
smt = smtod(mb, struct smt_header *) ;
static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req,
mb->sm_len = smt->smt_len + sizeof(struct smt_header) ;
static int smt_authorize(struct s_smc *smc, struct smt_header *sm)
static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm)
dump_smt(smc,(struct smt_header *)sif,"SIF Configuration Reply") ;
dump_smt(smc,(struct smt_header *)sif,"SIF Operation Reply") ;
struct smt_header *smt ;
smt = smtod(mb, struct smt_header *) ;
smt->smt_len = length - sizeof(struct smt_header) ;
struct smt_header *smt ;
smt = smtod(mb, struct smt_header *) ;
int smt_check_para(struct s_smc *smc, struct smt_header *sm,
void *sm_to_para(struct s_smc *smc, struct smt_header *sm, int para)
struct smt_header *smt ;
smt = smtod(mb, struct smt_header *) ;
void smt_swap_para(struct smt_header *sm, int len, int direction)
len -= sizeof(struct smt_header) ;
void smt_swap_para(struct smt_header *sm, int len, int direction)
struct smt_header *sm ;
sm = smtod(mb,struct smt_header *) ;
if ((sm->smt_len > mb->sm_len - sizeof(struct smt_header)) ||
struct smt_header *sm ;
sm = smtod(mb,struct smt_header *) ;
struct smt_header *sm ; /* header of offending frame */
sm = smtod(rej,struct smt_header *) ;
2*sizeof(struct smt_header))
2*sizeof(struct smt_header) ;
len -= sizeof(struct smt_header) ;
dump_smt(smc,(struct smt_header *)rdf,"RDF") ;
dump_smt(smc,(struct smt_header *)nif,"NIF") ;
struct smt_header *smt ;
smt = smtod(mb, struct smt_header *) ;
mb->sm_len = smt->smt_len + sizeof(struct smt_header) ;