fromto
| box from box tbox %prec FROM { fromto($1, $3, $4); fromflg=0; }
| box to box %prec TO { fromto($1, 0, $3); }
trace_id(nvlist_t *entry, char *fromto, idmap_id *id, char *name, char *domain)
trace_int(entry, fromto, IDMAP_TRACE_TYPE, (int64_t)id->idtype);
trace_str(entry, fromto, IDMAP_TRACE_NAME, str);
trace_sid(entry, fromto, IDMAP_TRACE_SID,
trace_str(entry, fromto, IDMAP_TRACE_NAME, name);
trace_int(entry, fromto, IDMAP_TRACE_UNIXID,
| fromto
fromto: from srcobject to dstobject { yyexpectaddr = 0; yycont = NULL; }
idmap_trace_print_id(FILE *out, nvlist_t *entry, char *fromto)
if (idmap_trace_get_int(entry, fromto, IDMAP_TRACE_TYPE, &i64)) {
if (idmap_trace_get_str(entry, fromto, IDMAP_TRACE_NAME, &s))
if (idmap_trace_get_str(entry, fromto, IDMAP_TRACE_SID, &s))
if (idmap_trace_get_int(entry, fromto, IDMAP_TRACE_UNIXID, &i64))