Lines Matching refs:rdf
864 struct smt_rdf *rdf ; in smt_send_rdf() local
884 rdf = smtod(mb,struct smt_rdf *) ; in smt_send_rdf()
885 rdf->smt.smt_tid = sm->smt_tid ; /* use TID from sm */ in smt_send_rdf()
886 rdf->smt.smt_dest = sm->smt_source ; /* set dest = source */ in smt_send_rdf()
889 rdf->reason.para.p_type = SMT_P_REASON ; in smt_send_rdf()
890 rdf->reason.para.p_len = sizeof(struct smt_p_reason) - PARA_LEN ; in smt_send_rdf()
891 rdf->reason.rdf_reason = reason ; in smt_send_rdf()
894 rdf->version.para.p_type = SMT_P_VERSION ; in smt_send_rdf()
895 rdf->version.para.p_len = sizeof(struct smt_p_version) - PARA_LEN ; in smt_send_rdf()
896 rdf->version.v_pad = 0 ; in smt_send_rdf()
897 rdf->version.v_n = 1 ; in smt_send_rdf()
898 rdf->version.v_index = 1 ; in smt_send_rdf()
899 rdf->version.v_version[0] = SMT_VID_2 ; in smt_send_rdf()
900 rdf->version.v_pad2 = 0 ; in smt_send_rdf()
903 if ((unsigned) frame_len <= SMT_MAX_INFO_LEN - sizeof(*rdf) + in smt_send_rdf()
907 len = SMT_MAX_INFO_LEN - sizeof(*rdf) + in smt_send_rdf()
911 rdf->refused.para.p_type = SMT_P_REFUSED ; in smt_send_rdf()
913 rdf->refused.para.p_len = len + 4 ; in smt_send_rdf()
914 rdf->refused.ref_fc = fc ; in smt_send_rdf()
919 memcpy((char *) &rdf->refused.ref_header,(char *) sm,len) ; in smt_send_rdf()
923 rdf->smt.smt_len += len ; in smt_send_rdf()
925 dump_smt(smc,(struct smt_header *)rdf,"RDF") ; in smt_send_rdf()