Lines Matching refs:smt_header
463 struct smt_header *sm ; in smt_received_pack()
480 sm = smtod(mb,struct smt_header *) ; in smt_received_pack()
557 if ((sm->smt_len > mb->sm_len - sizeof(struct smt_header)) || in smt_received_pack()
828 struct smt_header *sm ; in smt_send_frame()
834 sm = smtod(mb,struct smt_header *) ; in smt_send_frame()
854 struct smt_header *sm ; /* header of offending frame */ in smt_send_rdf()
859 sm = smtod(rej,struct smt_header *) ; in smt_send_rdf()
895 2*sizeof(struct smt_header)) in smt_send_rdf()
899 2*sizeof(struct smt_header) ; in smt_send_rdf()
912 len -= sizeof(struct smt_header) ; in smt_send_rdf()
916 dump_smt(smc,(struct smt_header *)rdf,"RDF") ; in smt_send_rdf()
945 dump_smt(smc,(struct smt_header *)nif,"NIF") ; in smt_send_nif()
1041 dump_smt(smc,(struct smt_header *)sif,"SIF Configuration Reply") ; in smt_send_sif_config()
1090 dump_smt(smc,(struct smt_header *)sif,"SIF Operation Reply") ; in smt_send_sif_operation()
1101 struct smt_header *smt ; in smt_build_frame()
1112 smt = smtod(mb, struct smt_header *) ; in smt_build_frame()
1129 smt->smt_len = length - sizeof(struct smt_header) ; in smt_build_frame()
1135 struct smt_header *smt ; in smt_add_frame_len()
1137 smt = smtod(mb, struct smt_header *) ; in smt_add_frame_len()
1642 int smt_check_para(struct s_smc *smc, struct smt_header *sm, in smt_check_para()
1656 void *sm_to_para(struct s_smc *smc, struct smt_header *sm, int para) in sm_to_para()
1697 struct smt_header *smt ;
1707 smt = smtod(mb, struct smt_header *) ;
1802 void smt_swap_para(struct smt_header *sm, int len, int direction) in smt_swap_para()
1818 len -= sizeof(struct smt_header) ; in smt_swap_para()
1894 void smt_swap_para(struct smt_header *sm, int len, int direction) in smt_swap_para()