aspath_delim
aspath_delim(seg_type, 0));
r = snprintf(buf, size, "%s", aspath_delim(seg_type, 1));
total_size += strlen(aspath_delim(seg_type, 0));
total_size += strlen(aspath_delim(seg_type, 1));