attr_optget(const struct attr_flags *attr, u_int8_t type)
attr_optget(const struct rde_aspath *asp, u_int8_t type)
attr_optget(const struct attr_flags *attr, u_int8_t type){	struct attr	*a;	TAILQ_FOREACH(a, &attr->others, entry) {		if (type == a->type)			return (a);		if (type < a->type)			/* list is sorted */			break;	}	return (NULL);}