BUNDLE_DESCRIPTOR
bundle.desc.type = BUNDLE_DESCRIPTOR;
((d)->type == BUNDLE_DESCRIPTOR ? (struct bundle *)(d) : NULL)