protocol_type_swap