Lines Matching refs:ER
313 /* Check for root directory, add SP and ER if needed. */
383 * Handle ER - should be the only entry to appear on
802 SUSP_ENTRY_SUSP_ER, "ER", SUSP_LOC_DOT);
805 r->attr.su_entry.ER.h.length[0] = 8;
806 r->attr.su_entry.ER.h.version[0] = 1;
808 r->attr.su_entry.ER.len_id[0] = (u_char)strlen(ext_id);
809 r->attr.su_entry.ER.len_des[0] = (u_char)strlen(ext_des);
810 r->attr.su_entry.ER.len_src[0] = (u_char)strlen(ext_src);
812 l = r->attr.su_entry.ER.len_id[0] +
813 r->attr.su_entry.ER.len_src[0] +
814 r->attr.su_entry.ER.len_des[0];
817 assert(l + r->attr.su_entry.ER.h.length[0] <= 254);
819 r->attr.su_entry.ER.h.length[0] += (u_char)l;
822 r->attr.su_entry.ER.ext_ver[0] = ext_version;
823 memcpy(r->attr.su_entry.ER.ext_data, ext_id,
824 (int)r->attr.su_entry.ER.len_id[0]);
825 l = (int) r->attr.su_entry.ER.len_id[0];
826 memcpy(r->attr.su_entry.ER.ext_data + l,ext_des,
827 (int)r->attr.su_entry.ER.len_des[0]);
829 l += (int)r->attr.su_entry.ER.len_des[0];
830 memcpy(r->attr.su_entry.ER.ext_data + l,ext_src,
831 (int)r->attr.su_entry.ER.len_src[0]);